hayesdavis / grackle

Lightweight Ruby library for the Twitter API that goes with the flow.
228 stars 36 forks source link

Not able to get retweets count #27

Open chandravati opened 11 years ago

chandravati commented 11 years ago

Hi, I am using the following query to fetch retweets count from API, but not getting any value.

@client = Grackle::Client.new(:auth {:type=>:oauth,:consumer_key=>consumer_key,:consumer_secret=>consumer_secret,:token=>'xxxxxxxxxxxxx',:token_secret=>'xxxxxxxxxxxxxxxxxx'})

@client.statuses.retweets_of_me.json? :screen_name=> profile_name, :include_entities => true,:page=> retweet_page, :count => 100

output : Grackle::TwitterError: get http://api.twitter.com/1/users/statuses/retweets_of_me.json?screen_name=xxxxxx&include_entities=true&page=1&count=100 => 404: {"errors":[{"message":"Sorry, that page does not exist","code":34}]}

Is there is any change to the retweet method?