I'm constantly getting these entries in the error logs and facebook data is not shown:

Notice: Undefined index: og_object in _social_stats_facebook_multiple() (regel 136 van ***/sites/all/modules/social_stats/social_stats.module).
Notice: Undefined index: share in _social_stats_facebook_multiple() (regel 138 van ***/sites/all/modules/social_stats/social_stats.module).

It also seems that the data is not being fetched from Facebook. The issue marked as duplicate reports the following error being logged to watchdog:

Problem with retrieving data from Facebook for node ID (nid). Code: 400, Type: , Error:

Comments

sozkara created an issue. See original summary.

harsh.behl’s picture

Status: Active » Needs review
StatusFileSize
new1.18 KB

Please find the patch.

zila661’s picture

Hm. It doesn seems to work for me. Error is not showing but no data is fetched.

ajits’s picture

Issue summary: View changes
Andreas Radloff’s picture

StatusFileSize
new2.24 KB

Facebook changed it's API. here's a patch that updates the call so data gets fetched.

svenryen’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #5 solved my problem. Also, patch #2 from #2981709: "Unsupported post request" from Facebook API is required for Facebook share counts to be imported as of 26 June.

svenryen’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.