Skip to content

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

Description

@team-zindex

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.

Activity

  1. team-zindex commented on Apr 1, 2016

    @team-zindex
    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.

  2. tareq1988 commented on Apr 1, 2016

    @tareq1988
    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.

  3. team-zindex commented on Apr 1, 2016

    @team-zindex
    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.

  4. team-zindex commented on Apr 1, 2016

    @team-zindex
    Author

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

  5. team-zindex commented on Apr 1, 2016

    @team-zindex
    Author

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

  6. tareq1988 commented on Apr 1, 2016

    @tareq1988
    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/

  7. haysclark commented on Apr 8, 2017

    @haysclark

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

  8. YuvrajKhavad commented on Apr 8, 2017

    @YuvrajKhavad

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions