JavaScript is required to use Bungie.net

Help

Help us help you.
originally posted in:BungieNetPlatform
Edited by yung_jachu: 2/23/2016 9:21:48 PM
2

GetMembershipIdByDisplayName returns null

[url]http://pastebin.com/mSQMrQWT[/url] don't mind the var_dump; and die; parts, they're just for testing purposes. found a [url=https://www.bungie.net/en/Clan/Post/39966/156193837/0/0]similar topic[/url] here, which has been resolved, but the author never shared how had he resolved the issue. I'd appreciate any help.

Posting in language:

 

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

  • Edited by yung_jachu: 2/23/2016 8:54:30 PM
    Ok, fixed my issue. For future reference - i've made a mistake in this part: [quote]curl_setopt($ch, CURLOPT_HEADER, array('X-API-Key: ' . $apiKey));[/quote] should have been: [quote]curl_setopt($ch, CURLOPT_HTTPHEADER, array('X-API-Key: ' . $apiKey));[/quote]

    Posting in language:

     

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

  • Are you ignoring case and supplying the correct membershipType? e.g. https://www.bungie.net/Platform/Destiny/2/Stats/GetMembershipIdByDisplayName/yebodude/?ignorecase=true

    Posting in language:

     

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

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