JavaScript is required to use Bungie.net

#api

10/10/2015 1:41:05 PM
0

Error with PHP auth?

I'm using the PHP auth code found here [url]http://bungienetplatform.wikia.com/wiki/Authentication?action=edit&section=12[/url]. I'm using my xbox live account details and when it gets to this line: [quote]preg_match('/id\="i0327" value\="(.*?)"\//', $auth_result, $ppft);[/quote], if I try to var_dump $ppft, it's an empty array, causing it to not flow in to the [quote]if (count($ppft) == 2) {[/quote] block. If I print out $auth_result, I get [quote]Object moved to here.[/quote] where here is a link containing this url: [url]https://login.live.com/oauth20_authorize.srf?client_id=000000004013231D&scope=Xboxlive.signin%20Xboxlive.offline_access&response_type=code&redirect_uri=https://www.bungie.net/en/User/SignIn/Xuid&display=touch&locale=en[/url] By [quote]$ppft[/quote] being an empty array, it never finishes the third party auth. Any ideas on how to fix this? Thanks

Sprache des Beitrags:

 

Bearbeiten
Vorschau

Benimm dich. Nimm dir eine Minute, um dir unsere Verhaltensregeln durchzulesen, bevor du den Beitrag abschickst. Abbrechen Bearbeiten Einsatztrupp erstellen Posten

Es ist dir nicht gestattet, diesen Inhalt zu sehen.
;
preload icon
preload icon
preload icon