I am new to using Facebook's API. I am trying to figure out how to access a user''s News Feed.
mFacebookLoginButton.registerCallback(callbackManager, new FacebookCallback<LoginResult>() {
@Override
public void onSuccess(LoginResult loginResult) {
GraphRequest request = GraphRequest.newGraphPathRequest(loginResult.getAccessToken(), "/me/home", new GraphRequest.Callback() {
@Override
public void onCompleted(GraphResponse graphResponse) {
}
});
I am confused to how to access the posts. Any help would be much appreciated.