Thanks Andrs,
I did exactly what it is written in the README.
And also calls such as: twurl /1.1/statuses/home_timeline.json are working OK
Are working for me…
THE PROBLEM is that the Ads-API is is not working as expected…
twurl -H ads-api.twitter.com /0/accounts/
return:
{“errors”:[{“code”:“UNAUTHORIZED_CLIENT_APPLICATION”,“message”:“The client application making this request does not have access to this API”}],“request”:{“params”:{}}}ubuntu@ip-10-0-0-61:~$ ^C
The command:
twurl accounts
return::
@best_conversion
W53p7GZTxxtIPOJdlCad1CqUk
best_conversion
W53p7GZTxxtIPOJdlCad1CqUk (default)
I appreciate if you can go with me with my consumer key and secret and try to get the documented below format.
Many Thanks,
Amir
–consumer-key XXXX --consumer-secret XXXX
twurl -H ads-api-sandbox.twitter.com /0/accounts/
{
“data”: [
{
“created_at”: “2014-03-09T00:41:49Z”,
“currency”: “USD”,
“deleted”: false,
“id”: “xxxxxx”,
“name”: “Sandbox account for @AdsAPI”,
“timezone”: “America/Los_Angeles”,
“timezone_switch_at”: null,
“updated_at”: “2015-01-29T00:41:49Z”
}
],
“data_type”: “account”,
“next_cursor”: null,
“request”: {
“params”: {}
},
“total_count”: 1
}