Closed ilomedia closed 9 years ago
I had the same issue.
That's because your faceook app is running a newer version of the graph API. If I get it right, we need to specify which fields we want to retrieve since version 2.4.
Simply replace the line 303 in jquery.socialfeed.js with the following:
request_url = Feed.facebook.graph + 'v2.3/' + page + '/feed?fields=id,from,name,message,created_time,story,description,link,picture,object_id&' + limit + query_extention;
Also, replace the line 296 with the following:
request_url = Feed.facebook.graph + 'v2.3/' + userdata.id + '/posts?fields=id,from,name,message,created_time,story,description,link,picture,object_id&' + limit + query_extention;
Indeed my app runs API Version 2.4
Thanks for the workaround but i think a definitive solution should be handled by the official plugin. Maybe you could propose a patch?
Or maybe API Version is already handled as an option, i'll check
The API version value is hard coded, it's not handled as an option.
Hi all,
I'm trying to install your plugin on a test site, my code follows. The only difference between your demo and my code is that i created a new FB App and gor an App ID and i get the following error : TypeError: element.from is undefined on line 266 post.author_link = 'http://facebook.com/' + element.from.id;
element is the post from teslamotors which works fine in your example, am i stupid or is there something wrong?