简体   繁体   English

无需身份验证即可获取用户的Twitter主页供稿

[英]Getting a user's Twitter home feed without authentication

I am coding an application which I get a user's profile timeline and user's friends' twitter updates (home feed). 我正在编写一个应用程序,可以获取用户的个人资料时间轴和用户朋友的Twitter更新(家庭供稿)。 I am using Rails and Koala gem. 我正在使用Rails和Koala gem。

I can get the user's own twitter updates without authentication but I can't get the user's friends' updates (aka, home feed) without authentication. 未经身份验证,我可以获取用户自己的Twitter更新,但未经身份验证,则无法获得用户朋友的更新(aka,家庭供稿)。

I searched Twitter api but api functions that I can use (statuses/home_timeline, statuses/friends_timeline) require authentication. 我搜索了Twitter api,但是我可以使用的api函数(statuss / home_timeline,statuss / friends_timeline)需要身份验证。

Is there a way to get friends' updates without authentication? 有没有办法无需身份验证就可以获取朋友的更新? (only updates of public accounts). (仅更新公共帐户)。

I am considering to 1) first getting friend list of a person 2) then getting their public timeline feed and 3) creating a seperate feed. 我正在考虑1)首先获取一个人的朋友列表2)然后获得他们的公共时间表供稿,以及3)创建一个单独的供稿。 But I want to ask here about the possibilities. 但我想在这里询问可能性。

There is no way to directly get a users home_timeline without authenticating as them. 如果不进行用户身份验证,则无法直接获得用户home_timeline。 Your only option is going to get all the friends user_timelines and combine them into a single timeline. 您唯一的选择是获取所有朋友user_timelines并将它们组合为一个时间轴。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM