originally posted in:BungieNetPlatform
[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.
-
Edited by yung_jachu: 2/23/2016 8:54:30 PMOk, 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]
-
Are you ignoring case and supplying the correct membershipType? e.g. https://www.bungie.net/Platform/Destiny/2/Stats/GetMembershipIdByDisplayName/yebodude/?ignorecase=true