How to query request object in Facebook graph API explorer? -


I have a request ID and I want to get the Request ID object.

When I write a request id in the graph API Explorer, I get: "Get an unsupported request."

How to do this?

I like the requested items at the end of this example:

Thanks!

Edit My code:

First of all, I enter it in my browser:

  https: / /www.facebook .com / dialog / apprequests? APP_ID = APP_ID & amp; Message = Facebook% 20Dialogs% 20are% 20so% 20easy & amp; Redirect_uri = http: //www.example.com/response   

Then after checking the response in Chrome, I can see it under string parameters:

 < Code> Request: 600744979955487 from [0]: 6025656 to [1]: 630243457 from [2]: 100002049936 from 997 [3]: 100003709530244   

These are the IDs of friends whom I sent the request And request id

I use this data graph to create this request in my explorer

  / 600744979955487_6025656   

I also tried :

  / 600744979955487   

Both returns:

  {"error": {"message": "Get unsupported Request "." "Type": "GraphMethodException", "code": 100}}    

< P> You need to get the full request from access_token

in which the recipient user is included, you get User ID must be attached:

https://graph.facebook.com/<REQUEST_OBJECT_ID> _ & lt; USER_ID & gt;? Access_token = APP_ACCESS_TOKEN

or use the recipient user access token:

https: // graph Facebook.com/<REQUEST_OBJECT_ID>?access_token= USER_ACCESS_TOKEN

-

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -