Hi,
I am using your Module and I have on every ajax request an error report. Hier is how the Report looks like.
Can you help me with that?

Thanks/

CommentFileSizeAuthor
#1 2200329-1.patch1.12 KBEl Alemaño
2014-02-19_1323.png90.78 KBEl Alemaño

Comments

El Alemaño’s picture

StatusFileSize
new1.12 KB

Small Patch to fix the problem, is not very nice but that fix my problem and Facebook Post still working.

Dave Cohen’s picture

Priority: Major » Normal
Status: Active » Closed (works as designed)

The error message could be clearer. But the problem in your case is not the code, but the access token, which probably expired.

The try and catch clauses are written that way for a reason. The error calling fb_graph('me') is a problem. The error calling fb_graph(me/accounts) is typically because an extended permission is not granted. When the fb_graph('me') fails, either the site can't reach facebook or the token is bad.

You should re-configure the admin token, rather than change the code.

El Alemaño’s picture

My token is ok, i check it before i wrote this issue.
Right now i need to use this patch, because this try and catch is happening on every ajax request. That is making my Page slow.
And with this Patch the Post to Facebook still working, so no idea why is needed and that proves that my Token is ok.

Any other Idea why is happening this?