1

我正在使用 3pillar socialauth 编写一个连接 3 个站点的应用程序 - facebook、twitter 和 google+。虽然使用 facebook 登录工作正常,但我遇到了 twitter 问题。我收到以下消息 -org.brickred.socialauth.exception.SocialAuthConfigurationException: Application keys are not correct. The server running the application should be same that was registered to get the keys. 如果我使用随样本提供的默认键,则应用程序可以正常工作。我该如何解决这个问题?请指导我。提前致谢。

4

1 回答 1

1

Twitter 登录SocialAuth效果很好(我已经做到了)。请确保您已完成以下所有操作:

1.您在您的客户/公司的 Twitter 帐户中创建了一个应用程序,并且您的 Android 应用程序中使用的消费者密钥和消费者秘密与您从 Twitter 应用程序中获得的相同。

2.在您的 Twitter 应用程序中,您已将访问级别设置为Read and writeRead, write, and direct messages

3.必须在您的 Twitter 应用程序中提供回调 URL。

参考:

1. 获取 Twitter 消费者密钥和秘密的分步指南。

于 2014-06-24T07:24:54.747 回答