安卓、推特、“关注我们" [英] Android, Twitter, 'FOLLOW US'

查看:18
本文介绍了安卓、推特、“关注我们"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个 android 应用程序,但我被困在一个地方.我已经使用 twitter4j,路标 apis 在我的应用程序中集成了 Twitter.我成功地编写了将文本放入用户个人资料的代码,但我也希望用户在单击在 twitter 上关注我们"按钮时关注我的应用程序.

I am building an android application and I am stuck at one place. I have integrated Twitter in my app using twitter4j, signpost apis. I am successful in writing code for putting text in user profile but I also want the user to follow my app when they click 'follow us on twitter' button.

谁能给我参考或指导编写此类代码?

Can anybody give me reference or guidance of writing such code?

推荐答案

您可能正在寻找的是 createFriendship()

你可以看到它是如何此处使用

2016 Google 代码 svn 已损坏且 twitter 4j 已移动http://twitter4j.org/en/api-support.html

2016 Google code svn is broken and twitter 4j has moved http://twitter4j.org/en/api-support.html

这篇关于安卓、推特、“关注我们"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆