Android - Twitter API - Bad Authentication for statuses/retweets -


i'm attempting retrieve list of retweets of tweet given id. here request:

twitterclient client = new twitterclient(twittersession);     client.getretweetsservice().list(long.parselong(objectid), new callback<response>() { ... etc ... } 

as can see, use twitter session therefore request authenticated. , here interface:

interface retweets { @get("/1.1/statuses/retweets/{id}.json") void list(@path("id") long objectid, callback<response> cb); 

which produces following url, example twitter use

https://api.twitter.com/1.1/statuses/retweets/509457288717819904.json 

however recieve following (and same if use twitters example link)

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

can me? on website gives way retrieve retweets

https://docs.fabric.io/javadocs/twittercore/1.3.4/com/twitter/sdk/android/core/services/statusesservice.html#retweet%28java.lang.long,%20java.lang.boolean,%20com.twitter.sdk.android.core.callback%29

"returns collection of 100 recent retweets of tweet specified id parameter." it's post , instead retweets tweet.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -