是否有任何 Blackberry Twitter SDK[Java] 可以处理 OAuth
我正在开发一个小型黑莓应用程序,它聚合所有名人推文......现在,我可以通过传递用户名来 ping 公共 Twitter 时间轴 API,例如
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=arrahman
我需要在应用程序中提供一项功能,使用户能够转发名人推文。为了发布到用户的时间线,Twitter 需要对用户进行身份验证。
我正在寻找一些 Blackberry SDK,它在传递用户名和密码时返回一个令牌。这样我就可以在设备中保留令牌并在后续转发中重复使用相同的令牌...我如何在我的黑莓应用程序中执行此操作?有现成的SDK吗?
如果有SDK,如何使用它,我应该在哪里传递用户名和密码参数?我应该在哪里以及如何保存令牌?请帮忙。
I am developing a small blackberry app which aggregates all celebrity tweets.... For now i am successfully able get all tweets by pinging the public twitter timeline API by passing the username, for example
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=arrahman
I need to have a functionality in app, which enables the user to retweet the celebrity tweet. In order to post to user's timeline twitter needs to authenticate the user.
I am looking for some Blackberry SDK which returns me a token when username and password is passed. so that i can preserve the token in device and reuse the same for subsequent retweets... how do i do that in my blackberry app? Is there any SDK readily available?
If SDKs are available , how to use it, where should i pass username and password parameter? where and how should i save the token? please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该查看 https://github.com/fireeagle/j2me-oauth。我之前在 J2ME 上使用过它进行 Oauth,效果非常好。
You should have a look at https://github.com/fireeagle/j2me-oauth. I have used it for Oauth on J2ME before and it was pretty good.
另请在此处检查 j2me twitter API:
http://j2megroup.blogspot.com/2010 /08/twitter-api-me-14-new-release.html
在这里
http://kenai.com/projects/twitterapime/pages/Home
它们适用于黑莓也。
Also check j2me twitter API here:
http://j2megroup.blogspot.com/2010/08/twitter-api-me-14-new-release.html
and here
http://kenai.com/projects/twitterapime/pages/Home
they are for blackberry too.