<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>

CC BY-SA 3.0
2015-11-08T16:47:10.717Z
Do I need to write a plugin that has an `entries.onSaveEntry` function to call your plugin or am I looking at this wrong?
H2ONOCK
CC BY-SA 3.0
2015-11-08T17:46:02.627Z
Correct.  You just need to write a simple plugin that triggers the posting.  Here's an example:
andrew.welch
CC BY-SA 3.0
2015-11-08T17:52:25.250Z
I updated the README.md to include a simple example plugin that does what you want: https://github.com/khalwat/buffer
andrew.welch
CC BY-SA 3.0
2015-11-08T19:02:33.043Z
Legend! Nice one :)
H2ONOCK
CC BY-SA 3.0
2015-11-08T19:45:04.820Z
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?
H2ONOCK
CC BY-SA 3.0
2015-11-08T16:20:47.037Z
2015-11-08T16:20:47.037Z
andrew.welch
<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>

<plugins>
Auto Post to Facebook/Twitter
# 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?  

---

