Skip to content

Arguments for get() and post() are not being passed through to Twitter's API #22

@kylebragger

Description

@kylebragger

Assuming twitter_user is an instance of User and authenticated via OAuth,

opts = {}
opts['count'] = '200'
opts['since_id'] = twitter_user.since_id unless twitter_user.since_id.blank?
tweets = twitter_user.twitter.get('/statuses/friends_timeline', opts)

opts are not passed through, and tweets contains the last 20 tweets for this method, without regard for since_id

Looking through the dispatcher code, it would seem that this should be working, but I can't seem to reproduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions