简体   繁体   English

Twitter API,用于使用访问令牌和密码获取好友列表

[英]Twitter api for getting friends list using access token and secret

My first question at StackOverFlow! 我在StackOverFlow上的第一个问题! Pardon me if I go wrong, my question doesn't make any sense or it hurts the community. 如果我做错了,请原谅我,我的问题没有任何意义,否则会伤害社区。

I have got Twitter Access Token and Twitter Secret for my Android app using OAuth. 我已经使用OAuth为我的Android应用程序获取Twitter访问令牌Twitter Secret (A big thanks to the people here) (非常感谢这里的人)

Now I want to get the friend list for that specific user account. 现在,我想获取该特定用户帐户的朋友列表。

I send both of them to my server application from where I need to access friends list for that account. 我将它们都发送到我的服务器应用程序,从那里我需要访问该帐户的朋友列表。

How can I get the friends list? 我如何获得朋友名单? Any library for that? 有图书馆吗?

Any insight will be highly appreciated. 任何见解将不胜感激。

Check for best twitter sharing library from this stackoverflow link : 从以下stackoverflow链接中检查最佳的Twitter共享库:

Android Twitter Connectivity? Android Twitter连接性?

The Temboo Library makes it simple to interact with the Twitter API. Temboo库使与Twitter API的交互变得简单。 Here's a link to the Friend List query you asked about: 这是您询问的好友列表查询的链接:

https://www.temboo.com/library/Library/Twitter/FriendsAndFollowers/GetFriendsByID/ https://www.temboo.com/library/Library/Twitter/FriendsAndFollowers/GetFriendsByID/

You can interact with it in your browser and then generate the Java source code you need to embed that behavior in your app. 您可以在浏览器中与之交互,然后生成将这种行为嵌入应用程序所需的Java源代码。

(Full disclosure: I work at Temboo). (完全公开:我在Temboo工作)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Twitter4J的朋友的好友列表 - Friends list of a friend using Twitter4J 使用Facebook API在Android中的Facebook朋友列表 - facebook friends list in android using facebook api Twitter4j得到朋友的时间表 - Twitter4j getting friends timeline 无需使用API​​即可访问Twitter数据 - Access twitter data without using the API 应该使用哪个 twitter API 来使用访问令牌而不是 user_id 或 screen_name 获取用户基本信息? - Which twitter API should be used to fetch users basic information using access token instead of user_id or screen_name? 使用Azure AD Graph API时如何获取用于获取access_token的“代码” - how to get 'code' for getting access_token when using Azure AD Graph API AWS API访问密钥ID和秘密访问密钥的格式。 取得例外 - Format for AWS API Access Key ID and Secret Access Key . Getting exception 如何在 Firebase Twitter 登录中获取令牌和密码? - How can I get the token and secret in Firebase Twitter Login? Twitter Android-FirebaseUI身份验证:一旦我拥有Android应用上的访问令牌和访问密码,如何代表用户发布? - Twitter Android-FirebaseUI auth: How to post on user's behalf once I have the access Token and the access secret on Android App??are those enough? 如何使用Twitter的Java库(twitter4j)访问Twitter API资源 - How to access Twitter API resources using Twitter's Java library (twitter4j)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM