Closed ghost closed 8 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;
@Webarkitekt should we update the code according to what @etienne-martin suggested?
Which means doing a rollback on an older graph api version ?
@pavelk2 @etienne-martin At least we could add an option to facebook parameters for the fb graph api version.
HTML
<div class="social-feed-container"></div>
Javascript config
All the MyVar names above are actual real values, masking them on purpose. The wordpress theme URL to template.html is also masked.