开发者

How to implement "you might also want to follow"

I am using twitter4j to follow twitter accounts, I would like to know how to implement "you might also want to f开发者_StackOverflowollow" and "similar to @foo" using twitter4j API.

Is there a way to fetch this information dynamically using this API?


If you are looking for suggested user list, you should look UserMethods Interface that has the method

ResponseList<User> getUserSuggestions(java.lang.String categorySlug)
                                      throws TwitterException

This method should match with the Twitter API GET users/suggestions/:slug

Since Twitter Interface is sub interface of that, you could call that method and get the suggested list from the user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜