用Djang登录Twitter的最佳方式

2024-10-01 13:40:35 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用以下3种方式在django上登录twitter,但现在不成功:

  1. Django SocialAuth公司
  2. django twitterauth公司
  3. http://hameedullah.com/step-by-step-guide-to-use-sign-in-with-twitter-with-django.html

我已经厌倦了,有没有其他方法可以用Django登录Twitter。在


Tags: todjangocomhttpbystepwith方式
3条回答

我最近在一个项目中使用这个。很不错。在

https://github.com/ryanmcgrath/twython-django

我想你的问题是“用Twitter登录Django的最佳方式”,而不是相反?更宽泛一点,你的问题基本上是“登录Django的最佳方式(插入最喜爱的社交网络)”,其中一个版本在这里讨论:

A simple and up-to-date way to implement Facebook login in a Django app

顺便说一句,allauth为您存储访问令牌。请在此处查看如何使用它来发布推文:

How to status update on twitter in django with Oauth

我最近用了Django Social Registration,很喜欢它。它还处理其他oauth、oauth2和openid服务。在

相关问题 更多 >