5
I am trying to collect with JAVASCRIPT/JQUERY some data from specific users that are not part of my friends list. I’d like to capture dice as: likes
, friends
, posts
and groups
.
I did some tests and saw no difference in being logged in or not on Facebook. The result is almost always JSON emptiness:
{
data: [ ]
}
In some cases returns the correct data, but most apply in the case of empty.
A specific case occurs with friends
:
{
error: {
message: "Unsupported operation",
type: "FacebookApiException",
code: 100
}
}
Tests are done via the url:
https://graph.facebook.com/{user-id}/{edges}?access_token={access_token}
Where:
{user-id}
= user id (Mine is 100002309392122);
{edges}
= data that I want to collect said at the beginning of the question and that are listed in facebook documentation.
{access_token}
= is the access key the API needs to take the data.
The token access was generated by me via an application I created only to generate it. Concatenating the application ID with the pipe character and then with the App Secret managed the token.
I wanted to change that scenario of "JSON empty". Am I doing something wrong? Is there no way to get this data? #How do?
That’s it. : ) That’s it another issue have some examples of how to consult Likes.
– Luiz Vieira