WordPress.org

Support

Support » Plugins and Hacks » The property 'article' requires an object of og:type 'article'

The property 'article' requires an object of og:type 'article'

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Niall Kennedy

    @niallkennedy

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘The property 'article' requires an object of og:type 'article'’ is closed to new replies.