JavaScript is required to use Bungie.net

Assistenza

Aiutaci ad aiutarti.
postato inizialmente in:BungieNetPlatform
Modificato da 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.

Lingua:

 

Fate i bravi. Prima di postare date un'occhiata al nostro codice di condotta. Annulla Modifica Crea squadra Invia

  • Modificato da 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]

    Lingua:

     

    Fate i bravi. Prima di postare date un'occhiata al nostro codice di condotta. Annulla Modifica Crea squadra Invia

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

    Lingua:

     

    Fate i bravi. Prima di postare date un'occhiata al nostro codice di condotta. Annulla Modifica Crea squadra Invia

    2 Risposte
    Non ti è permesso visualizzare questo contenuto.
    ;
    preload icon
    preload icon
    preload icon