KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using the Facebook SDK to post messages on walls. Now I need to fetch the Facebook friends list. Can anybody help me with this? -- Edit -- try { Facebook mFacebook = new Facebook(Constants.FB_APP_ID); AsyncFacebookRunner mAsyncRunner = new AsyncFacebookRunner(mFacebook); Bundle bundle = new Bundle(); bundle.putString("fields", "birthday"); mFacebook.request("me/friends", bundle); } catch(Exception e){ Log.e(Constants.LOGTAG, " " + CLASSTAG + " Exception = "+e.getMessage()); } When I execute my activity , I'm not seeing anything, but in LogCat there is a debug message like: 06-04 17:43:13.863: DEBUG/Facebook-Util(409): GET URL: https://graph.facebook.com/me/friends?format=json&fields=birthday And when I tried to access this url directly from the browser, I'm getting the following error response: { error: { type: "OAuthException" message: "An active access token must be used to query information about the current user." } }
Tags (comma-separated)
Save Edits
Cancel