I tried to search documentation for this but could not find it. Can you please provide the same ?
Please refer to Section II.B of the Developer Agreement and Section I.F.5 of the Developer Policy. Thank you.
Thanks. But I am unable to understand what is defined as a "use case"in Section I.F.5 of the Developer Policy
Do not do any of the following: Use a single application API key for multiple use cases or multiple application API keys for the same use case.
If I am having 2 twitter streams api from two IPs with two different apps of two different users, are they different or same use case ?
use case
Can you please tell me how to get error response from the Twitter API
It seems like phirehose must be masking that. I always use twurl to check what is going on at the command line.
Can you please tell any command which I can use to see error response from the Twitter API
Yes I just suggested one. You could use twurl at the command line to connect to the same API endpoint and get the raw API response; or you could modify the code you are using to echo out the raw API JSON message rather than masking it (but you may want to ask the library author / project developers to help).
Can you please give any documentation link for using the twurl commands. I am new to this.
There’s a tutorial on using twurl here.
Thanks
Andy,
Installed TWURL and did the steps mentioned in this thread - Use twurl and streamming API authentication and filter
and got the same error -
HTTP ERROR: 401
Problem accessing ‘/1.1/statuses/filter.json’. Reason:
Unauthorized
Can you suggest any solution ?
Does this work from any other IP address? Is your clock in sync? Does the twurl authorize step succeed and then can you run twurl accounts to confirm your account has been added?
twurl authorize
twurl accounts
Yes, it is working with other IP addresses
Yes, the clock is in sync with local time
Yes the twurl gets authorized. After that, when I run command for connecting with streaming API, it gives 401 error as described above.
My conclusion is that your IP address is blacklisted and that you should raise a platform support ticket as we cannot help you further on the forum.
O.k. Thanks very much for your replies.
Just for your information, already took matter with Twitter. Twitter replied that my IP is not blocked. I will try to take it up again with twitter.