WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
The property 'article' requires an object of og:type 'article' (2 posts)

  1. Majklas
    Member
    Posted 1 year ago #

    Hi,
    I've tried to set up custom actions, but with no luck. I've moderated your plugin code to `$meta_tags = array(
    self::OGP_NS . 'site_name' => get_bloginfo( 'name' ),
    self::OGP_NS . 'type' => 'judesiukas:move'
    );`
    So it could be the same ad added actions in fb application.
    Failed posting to your Facebook Timeline. Error: {"message":"(#3502) Object at URL http://judesiukas.nereal.us/superhouse/tube-berger-and-milan-euringer-lovebreak-official-video/ has og:type of 'judesiukas:move'. The property 'article' requires an object of og:type 'article'. (http response code: 206)","type":"OAuthException"}
    Please tell what is wrong and what should I do.. Writing documentation and FAQ's would be preferable..

    http://wordpress.org/extend/plugins/facebook/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    If you're setting up a custom Facebook action and object you would also need to swap out the publishing endpoint to make that action happen.

    The plugin publishes to {FBID}/news.publishes, where FBID is the Facebook ID of the author and /news.publishes is the action you've set up for the plugin. The news.publishes action requires an article parameter pointing to a URL on your site of og:type=article.
    https://developers.facebook.com/wordpress/#author-og-setup

    If you have setup a new "move" object in your app namespace it should be paired with an applicable action and submitted separately.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.