JavaScript is required to use Bungie.net

服务提示
明日《命运2》将暂时下线以进行定期维护。点击此处查看最新的命运服务器和更新状态。

#BungieNetPlatform

原先发布于:BungieNetPlatform
由LqDFx编辑: 1/15/2016 7:48:42 PM
1

Problem with PHP code for private Vendor Endpoints...

I need another set of eyes... or even someone more experienced than I am!!! so here is my code for getting the private vendor endpoint: [quote] curl_setopt($ch, CURLOPT_URL, $dm_BungieNet.'/Platform/Destiny/1/MyAccount/Character/'.$charID.'/Vendor/1527174714/?definitions=true'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_HTTPHEADER, array('x-api-key:'.$apiKey.',x-csrf:'.$dm_bungled)); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_txt); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_txt); $dm_json = curl_exec($ch); I am getting a must loggin error I know I have a good bungled, I'm grabbing it right before I try and get the endpoint. if I just take the endpoint and type it in, I get a "need to login error".

发贴语言:

 

遵守游戏礼仪。发送贴子前请花点时间阅读我们的行为准则 取消 编辑 创建火力战队 贴子

你没有权限查看此内容。
;
preload icon
preload icon
preload icon