我想在我的Android应用程序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....