android - Twitter followers list not getting -


i know twitter api update 1.1 , have token & tokensecret

i have checked both api

https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=myscreenname

response getting

{"errors": [{"message": "the twitter rest api v1 no longer active. please migrate api v1.1. https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]} 

https://api.twitter.com/1.1/friends/ids.json?cursor=-1&screen_name=myscreenname

response getting

{"errors":[{"message":"bad authentication data","code":215}]} 

please me response of followers ids list.

just tried execute request (https://api.twitter.com/1.1/friends/ids.json?cursor=-1&screen_name=myscreenname) in dev console , works charm.

seems you've missed authorization step (autorization with oauth required api v1.1), verify authorized valid credentials.

you can read more auth on twitter here or check out documentation library using make api requests.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -