Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It insert empty data like no title and other content #7

Open
zindexsolutions opened this issue Apr 1, 2016 · 8 comments
Open

It insert empty data like no title and other content #7

zindexsolutions opened this issue Apr 1, 2016 · 8 comments

Comments

@zindexsolutions
Copy link

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
Copy link
Author

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.

@tareq1988
Copy link
Owner

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.

@zindexsolutions
Copy link
Author

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
Copy link
Author

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

@zindexsolutions
Copy link
Author

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

@tareq1988
Copy link
Owner

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/

@haysclark
Copy link

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

@YuvrajKhavad
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants