fb-group-to-wp icon indicating copy to clipboard operation
fb-group-to-wp copied to clipboard

It insert empty data like no title and other content

Open zindexsolutions opened this issue 8 years ago • 8 comments

When i try to add Facebook group feed in WordPress and it store empty data (Not title, no content and not images) with wrong date(1970/01/01) see attachment group posts wordpress 2016-04-01 11-17-26 can you help what we doing wrong.

zindexsolutions avatar Apr 01 '16 05:04 zindexsolutions

I thing this plugin developed in old Facebook API... This a very Good Plugin ..Please update it with New API.

and please also add functionality like fetch data from Facebook page also.. and also gives option to store data in exiting post type like. post etc.

zindexsolutions avatar Apr 01 '16 06:04 zindexsolutions

I've just tested now and it works perfectly OK. Though seems like facebook changed its API a lot and not giving any extra informations for each post in v2.5, but the plugin uses v2.0 by default and still working fine.

tareq1988 avatar Apr 01 '16 17:04 tareq1988

Hello Tareq, Thanks for reply.

if add url like this $url = 'https://graph.facebook.com/' . $group_id . '/feed/?limit=' . $limit . '&access_token=' . $access_token; then API Gives {id,messsage,created_time} only but if add field like $url = 'https://graph.facebook.com/' . $group_id . '/feed/?limit=' . $limit . '&fields=id,message,created_time,link,type,picture,actions&access_token=' . $access_token; then data is save.

zindexsolutions avatar Apr 01 '16 17:04 zindexsolutions

You try in fresh WordPress installation with pluign or you checked in our old site? check my attachment it save empty data.

zindexsolutions avatar Apr 01 '16 18:04 zindexsolutions

you have a idea how to used old API? something like this feed/v2.0/

zindexsolutions avatar Apr 01 '16 18:04 zindexsolutions

I am not sure if the reason is I am using an old app from the time I released the plugin, the default result its giving back is from v2.0. You can explicitly define like this: $url = 'https://graph.facebook.com/v2.0/' . $group_id . '/feed/

tareq1988 avatar Apr 01 '16 20:04 tareq1988

I had this issue, I ended up having to use the manual version to pull my posts.

haysclark avatar Apr 08 '17 04:04 haysclark

For me this issue because of my Facebook app and access token was not public. Once i changed it this plugin work for me grate.

YuvrajKhavad avatar Apr 08 '17 04:04 YuvrajKhavad