How to get Facebook Feeds (post) using facebook sdk 4.0 in android? -


i have show facebook feeds(post) list in may application. using facebook 4.0 able profile unable fetch feeds(post). if have reference please tell me. thanks.

right-now using following code feeds getting blank response {"data":[]}

facebookcallback<loginresult> facebookcallback = new facebookcallback<loginresult>() {         @override         public void onsuccess(loginresult loginresult) {              new graphrequest(                      accesstoken.getcurrentaccesstoken(),                      loginresult.getaccesstoken().getuserid()+"/feed/",                      null,                      httpmethod.get,                      new graphrequest.callback() {                          public void oncompleted(graphresponse response) {                              log.i("fb", "feeds :" +response.getjsonobject());                              toast.maketext(                                      getapplicationcontext(),                                      response.getjsonobject()                                              + "",                                      toast.length_short).show();                          }                      }              ).executeasync();      } 

you need make graph api call within app https://developers.facebook.com/docs/graph-api/reference/v2.3/user/feed


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -