Then take a look at the API documentation page here:
I am thinking that if the feedback is back then it is the HTPRPS or JSN object. They say that they return a JSON object in response.
So since they are doing such names as feedback. Name, etc. What does it mean that we do not need to parse the JSON object? I did not get it. I was going to use JSD ParsJSON which was back to parse JSN object so that I could cross it and hold data.
UPDATED:
Ok here is my real code:
var uri = "/" + userID + "/ album"; FB.api (uri, function (reaction) {// check for a valid response if (! Response) response. Terror {warning ("error occurred"); return;} warning ("console.log (feedback): "+ Console.log (response); Warning (" response: "+ response [0]. Length);}); This is being passed: / 1637262814 / album
You get a javascript value back. Always returns an object, but some return numbers or boolean is usually an object like {name: 'My Name', id: 1234} . It's easy to run in firebug: FB.api ('/ me', function (r) {console.log (r)}) because it will let you know the response. You can also see this example:.
Comments
Post a Comment