JavaScript is required to use Bungie.net

Service Alert
We are actively investigating issues impacting players' ability to sign in to all Destiny releases on Xbox Platforms. Until resolved, players may experience disconnects or be unable to sign in. Please stay tuned to @BungieHelp for updates.

#php

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

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon