• Resolved viveramedia

    (@viveramedia)


    Hi, I need to post an existing wordpress post via the plugin to Facebook, but from a plugin. Is there any hook I can use to do this?

    Ideally I was hoping to specify the post, post type (I.e attachment) and the social network name I have created in the admin (I.e ‘MyPage’ named in the admin has all the API keys etc in order to post to Facebook)

    If there’s anything I can hook into that would be great.

    Thanks,

    Dave

    http://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/

Viewing 1 replies (of 1 total)
  • Plugin Author NextScripts

    (@nextscripts)

    Each networks has a function like nxs_doPublishToFB (facebook) or nxs_doPublishToTW (Twiter) you can call this function with postID and options of the network you would like to post to. You can get options from the wp_options table

Viewing 1 replies (of 1 total)
  • The topic ‘Post a wp post from PHP code’ is closed to new replies.