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:
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | social_stats-fb-api-update-2840184-5.patch | 2.24 KB | Andreas Radloff |
| #2 | no_facebook_data_displayed-2840184-2.patch | 1.18 KB | harsh.behl |
Comments
Comment #2
harsh.behl commentedPlease find the patch.
Comment #3
zila661 commentedHm. It doesn seems to work for me. Error is not showing but no data is fetched.
Comment #4
ajitsComment #5
Andreas Radloff commentedFacebook changed it's API. here's a patch that updates the call so data gets fetched.
Comment #6
svenryen commentedThe 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.
Comment #8
svenryen commented