开发者

Twitter @Anywhere sessions expire after 2 hours

After adding Twitter @Anywhere to a site, a user can log in just fine, but after 2 hours, their sessions have expired. Can't seem to find anything on the wire that references twitter anywhere session dura开发者_如何学运维tions.


There's no way to override the cookie expiration via the API as this post to the Twitter Anywhere Development Google Group details.

In the thread, Matt Harris, one of Twitter's developer advocates summarizes:

@anywhere doesn't share the twitter.com login but instead is a user authorised connection - much like OAuth apps. But, unlike OAuth apps, @anywhere is purely web-based so doesn't provide access beyond the current session.

If you want to provide a logged in system you would need to use your own session management code. To use Twitter as the identity provider you might want to consider "Sign in with Twitter" instead though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜