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

  1. viveramedia
    Posted 2 years 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.




  2. NextScripts
    Plugin Author

    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextScripts: Social Networks Auto-Poster
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.