Android Question How to Read All comments in a certain post using Facebook Graph API?

M.LAZ

Active Member
Licensed User
Longtime User
Hi every one here,,
really i need a help to read all comments and users account (facebook ids) and save them in a list or an array and ignores the replies of comments..

in this link :
https://developers.facebook.com/docs/graph-api/reference/v2.8/comment

i found this code in Android SDK

B4X:
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "/{comment-id}",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
i want the same code in b4a
 
Top