我正在使用邮递员APP通过TWITTER API访问GET请求。虽然我能够通过OAUTH 1.0通过所有其他GET和POST请求生成输出。但是当我通过" GET / 1 / stats / accounts /:account_id"发送请求时方法,它产生以下错误。
{
"errors": [
{
"code": "UNAUTHORIZED_ACCESS",
"message": "This request is not properly authenticated"
}
],
"request": {
"params": {}
}
}
这是获取广告系列级数据的最重要的GET请求。任何其他方式可能会有所帮助。
更新:
以下请求适用于https://ads-api.twitter.com/1/accounts/:account_id
{
"request": {
"params": {}
},
"data": [
{
"name": "Wadi.com",
"business_name": null,
"timezone": "Asia/Riyadh",
"timezone_switch_at": "2013-05-21T21:00:00Z",
"id": "18ce53yh9sw",
"created_at": "2015-03-12T07:33:09Z",
"salt": "0f034423fa35f95e8efc844a25c4d7a3",
"updated_at": "2017-05-17T06:03:58Z",
"business_id": null,
"approval_status": "ACCEPTED",
"deleted": false
}
],
"data_type": "account",
"total_count": 1,
"next_cursor": null
}
此致 Shree Kant