how to get user timeline posts using facebook api android -
i m using facebook api in android post/share status on user wall. want status user time line m using following code after sucessfull login , geting accestoken.
jsonobject json = util.parsejson(mfacebook.request("me")); string facebookid = json.getstring("id"); string facebookemail = json.getstring("email"); string facebooklastname=json.getstring("last_name"); string facebookfirstname=json.getstring("first_name"); string fusername = json.getstring("username");
this returns me things correctly , how can posts user timeline.
you can user information using url
https://graph.facebook.com/{your friends fb id}/posts
but before using this,you have permissions.
Comments
Post a Comment