[英]Android-facebook integration
誰能告訴我如何在Android應用程序中顯示Facebook多朋友窗口? 我是android的新手,我不知道該怎么做。有人可以幫助我嗎。
您是否瀏覽過Facebook Android教程 ?。
您可以使用Graph API查詢朋友,例如在GridView中顯示他們的照片。
// get information about the currently logged in user
mAsyncRunner.request("me", new meRequestListener());
// get the posts made by the "platform" page
mAsyncRunner.request("platform/posts", new pageRequestListener());
// get the logged-in user's friends
mAsyncRunner.request("me/friends", new friendsRequestListener());
最好的解決方案是使用Facebook SDK。 完整的詳細信息可以在https://developers.facebook.com/docs/mobile/android/build/#sample中找到
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.