M.LAZ Active Member Licensed User Longtime User Apr 5, 2017 #1 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 Code: /* 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
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 Code: /* 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
MarcoRome Expert Licensed User Longtime User Apr 7, 2017 #2 Is simple with HTTP https://graph.facebook.com/comments/?ids=http://example.com Click to expand... You will receive a response in JSON format { "error": { "message": "An access token is required to request this resource.", "type": "OAuthException", "code": 104, "fbtrace_id": "A1psbqV+8ai" } } Click to expand... of course is necessary token ---> look HERE Upvote 0
Is simple with HTTP https://graph.facebook.com/comments/?ids=http://example.com Click to expand... You will receive a response in JSON format { "error": { "message": "An access token is required to request this resource.", "type": "OAuthException", "code": 104, "fbtrace_id": "A1psbqV+8ai" } } Click to expand... of course is necessary token ---> look HERE
M.LAZ Active Member Licensed User Longtime User Apr 8, 2017 #3 thank u so much.. if the json retrieve all the comments? i will try .. Upvote 0