Topic-icon Problem when using jfbcLibrary->api('/me/likes');

Active Subscriptions:

None
12 years 6 months ago #39357 by angort
When using jfbcLibrary->api('/me/likes'); works fine for some users, but for other won't retreive any data, what might be causing this issue?
The topic has been locked.
Support Specialist
12 years 6 months ago #39368 by alzander
I'm not sure. We haven't heard of this issue before. The best I could suggest is ensuring that you're passing the proper access token to Facebook with that call.

In the newer releases of JFBConnect, there's an easy method to check the error code responses that Facebook may be responding with as well. That's not in the older v4.x releases though. So, the other option is to upgrade, which will provide Google+ and Twitter authentication as well as other features, and may help you diagnose the problem further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #39424 by angort
Hello Alex,

Checking the problem i found out that i should ask permission for accesing "likes", now i have another problems, for some users "likes" of a specific page does not appear in the array. What might be happening?
The topic has been locked.
Support Specialist
12 years 6 months ago #39427 by alzander
Angelo,
Glad we could help get you started on finding the cause.

As for the likes not returning an array, I'm not sure. You're using an older version of JFBConnect that likely isn't the cause, but things have changed a bit in the v5.x release to make things easier to diagnose and implement.

The first step I'd recommend is upgrading to the latest release. From there, we can gladly help investigate where issues may be occurring or how to work around the responses you're getting.

Thanks,
Alex
The topic has been locked.