1) How to properly integrate these api in wordpress? I need to understand the logic, and even better how to do it.

2) In my understanding, it should look like this:

  • Create a new post
  • The function determines whether the post was successfully published.
  • Get url post
  • We pass the function of posting in the social network
  • Here you need to somehow make a check in all social networks managed to post, if there is no, we deduce what error occurred
  • We deduce in what social networks post it?

3) All this should be displayed in the posting panel.

    1 answer 1

    All this makes the plugin NextScripts: Social Networks Auto-Poster .

    • I do not need a plugin, the company has its own requirements, and personalization will be made, for a start they will have enough link to the news. - webstackoverload
    • This bike is very difficult, you should not invent it yourself. One implementation of OAuth authorization takes you a lot of time. - KAGG Design
    • I have already implemented everything and for a day for all social networks, it remains only to integrate it. There was a question how to do it correctly. So the paddle is ready, it remains only to put the wheels :) - webstackoverload
    • If you have already implemented a publication in the social network, then why ask about it? Hang up the post online on the save_post hook and that's it. - KAGG Design
    • I ask about the implementation of logic when integrating, how best to do this, the task is to correctly integrate the posting. I imagine it this way, when you click on the publish button, an alert appears (as it is done in wp by default, that the article is published, then, there is a trace "alert", published, fb, published, one - not published. Something like that . - webstackoverload