WordPress.org

Ready to get started?Download WordPress

Forums

NextScripts: Social Networks Auto-Poster
[resolved] Post a wp post from PHP code (2 posts)

  1. viveramedia
    Member
    Posted 2 months ago #

    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/

  2. NextScripts
    Member
    Plugin Author

    Posted 2 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.