Skip to content

how to not set the remember_for field? #31

@prponnal

Description

@prponnal

Twitter does not itself set an expiration date/time for the access_token.
However, twitter-auth seems to set it at 10 days default.

describe '.from_remember_token' do
before do
@user = Factory(:twitter_oauth_user, :remember_token => 'abcdef', :remember_token_expires_at => (Time.now + 10.days))
end

If my app requires users to store their access_token and get there statuses regularly, how do I do that?

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