Answers.Body: <p>I wrote a plugin that posts to Buffer.com (which is free for up to very reasonable levels of activity).  Buffer in turn allows you to post to Facebook, Twitter, LinkedIn, Google+, etc.:</p>
  
  <p><a href="https://github.com/khalwat/buffer" rel="nofollow">https://github.com/khalwat/buffer</a></p>
  
  <p>I use it on several sites to do exactly what you describe.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-08T16:47:10.717Z
Answers.Text: Do I need to write a plugin that has an `entries.onSaveEntry` function to call your plugin or am I looking at this wrong?
Answers.UserDisplayName: H2ONOCK
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-08T17:46:02.627Z
Answers.Text: Correct.  You just need to write a simple plugin that triggers the posting.  Here's an example:
Answers.UserDisplayName: andrew.welch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-08T17:52:25.250Z
Answers.Text: I updated the README.md to include a simple example plugin that does what you want: https://github.com/khalwat/buffer
Answers.UserDisplayName: andrew.welch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-08T19:02:33.043Z
Answers.Text: Legend! Nice one :)
Answers.UserDisplayName: H2ONOCK
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-08T19:45:04.820Z
Answers.Text: Quick question, wondered if you'd come across this before... I used your updated code and modified it a little bit so that the push to buffer will only happen if the status is set to 'live': `if ($entry->section == 'News' && $entry->status == 'live')` However, if I write a post and set the status to disabled before I save, and then I go back into the entry, change the status to live and re-save, the push doesn't happen. Any ideas?
Answers.UserDisplayName: H2ONOCK
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-08T16:20:47.037Z
Answers.LastActivityDate: 2015-11-08T16:20:47.037Z
Answers.UserDisplayName: andrew.welch
Body: <p>I've looked everywhere for this functionality and am very surprised that I can't find it...</p>
  
  <p>Is there a plugin that allows auto posting of entry content to Facebook/Twitter/Other social media channel when the user hits Save?</p>
  
  <p>If there isn't, then I'll build one.</p>
  
Tags: <plugins>
Title: Auto Post to Facebook/Twitter
ThreadText: # Auto Post to Facebook/Twitter
  
  (Asked by: username_0 on 2015-11-08)
  
  I've looked everywhere for this functionality and am very surprised that I can't find it...
  
  Is there a plugin that allows auto posting of entry content to Facebook/Twitter/Other social media channel when the user hits Save?
  
  If there isn't, then I'll build one.
  
  **Tags:** plugins
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-11-08. Score: 2 | Accepted answer
  
  I wrote a plugin that posts to Buffer.com (which is free for up to very reasonable levels of activity). Buffer in turn allows you to post to Facebook, Twitter, LinkedIn, Google+, etc.:
  
  <https://github.com/khalwat/buffer>
  
  I use it on several sites to do exactly what you describe.
  
  > **Comments:**
  > **username_0**: Do I need to write a plugin that has an `entries.onSaveEntry` function to call your plugin or am I looking at this wrong?  
  > **username_1**: Correct.  You just need to write a simple plugin that triggers the posting.  Here's an example:  
  > **username_1**: I updated the README.md to include a simple example plugin that does what you want: https://github.com/khalwat/buffer  
  > **username_0**: Legend! Nice one :)  
  > **username_0**: Quick question, wondered if you'd come across this before... I used your updated code and modified it a little bit so that the push to buffer will only happen if the status is set to 'live': `if ($entry->section == 'News' && $entry->status == 'live')` However, if I write a post and set the status to disabled before I save, and then I go back into the entry, change the status to live and re-save, the push doesn't happen. Any ideas?  
  
  ---
  
  