如何通过Oauth在django的推特上更新状态



由于omab的social_auth项目,我添加了我的网站twitter登录名。它运行良好。

但我想让经过身份验证的用户在我的网站上分享推特。

我该如何满足此要求?

任何帮助和想法都将不胜感激。

我不确定social_auth,但django-allauth在每次登录时都会存储(并更新)令牌,位于:

https://github.com/pennersr/django-allauth/blob/master/allauth/socialaccount/models.py#L82

那么,只需将该令牌馈送到例如Tweepy(http://tweepy.github.com)以便代表用户发布推特。

最新更新