在Android Facebook的新闻聚合阅读器阅读器、新闻、Android、Facebook

2023-09-05 23:43:47 作者:痴意少年

我想在我的Andr​​oid应用程序Facebook的整合。

I am trying for a facebook integration on my android application.

我的要求是阅读每个新闻饲料,当它来临的时候,并用举杯来显示它。

My requirement is to read each news feed as and when it comes, and to display it using a toast.

所有的示例应用程序,我看到的净是基于Web的图形用户界面。 谁能帮我配个样品code或暗示阅读这些更新到一个变量/串在我的应用程序?

All the sample application I see on net are based on the web GUI. Can anyone help me with a sample code or hint to read the updates into a variable/string in my application?

问候, Dhanesh

Regards, Dhanesh

推荐答案

使用此登录Facebook的对话框后..

using this after login in facebook dialog..

     Facebook fb = new Facebook(APP_ID);
     String newsfeed=fb.request("me/home"); 
     System.out.println(newsfeed);

对于获得用户的新闻提要....

for get user news feed....

 
精彩推荐
图片推荐