# Auto Post to Twitter

**URL:** https://meta.discourse.org/t/auto-post-to-twitter/21235
**Category:** Feature
**Created:** [October 17, 2014, 5:44pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235 "2014-10-17T17:44:14Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [October 17, 2014, 5:44pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/1 "2014-10-17T17:44:14Z")

</div>

We have a “news” forum in our site which is great because it allows users and ourselves to quickly post interesting news for discussion. Frequently these get “oneboxed” so the layout is nice. - Its actually a quick and easy alternative to blog postings on our site.

It would be great if we could automatically hook up Discourse with our Twitter accounts so that the title and a shortened link automatically got posted to twitter - to help drive conversations on our forum.

This would only be for news (the initial post) posted to this forum Category, by a Moderator.

This would have broad appeal and help all forums because it would help drive traffic to people’s Discourse Forums - which is one of the key challenges that most Discourse forums will have.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [October 17, 2014, 5:46pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/2 "2014-10-17T17:46:43Z")

</div>

We use [http://twitterfeed.com/](http://twitterfeed.com/) for this, pointing it at the site’s RSS feed. Works pretty easily.

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [October 17, 2014, 5:50pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/3 "2014-10-17T17:50:28Z")

</div>

Seems like it might be a reasonable work-around for a while. I’m wondering if it posts just the first post in a discussion, or all of them. I don’t want my twitter account filled with discussions - just the first news item.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [October 17, 2014, 5:52pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/4 "2014-10-17T17:52:28Z")

</div>

It only posts new topics, and can add text before and after the topic title. If you look at [https://twitter.com/OpenMRS](https://twitter.com/OpenMRS) you’ll see some examples. I’d recommend testing with a non-public Twitter account first to make sure it’s working as you expect.

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [October 17, 2014, 5:53pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/5 "2014-10-17T17:53:31Z")

</div>

Can you point me towards your forum and twitter feed so I can see how you have it working at (PM me if you don’t want it public)?

I’m wondering if you can do this with just one category in our Discourse forum.

---

<div class="post-metadata">

### Author: ![AdamCapriola](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adamcapriola/32/5192_2.png) [@AdamCapriola](https://meta.discourse.org/u/AdamCapriola)
#### Post date: [October 17, 2014, 6:02pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/6 "2014-10-17T18:02:27Z")

</div>

IFTTT is another (more flexible) option besides twitterfeed: [https://ifttt.com/](https://ifttt.com/)

---

<div class="post-metadata">

### Author: ![daredevildave](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daredevildave/32/102855_2.png) [@daredevildave](https://meta.discourse.org/u/daredevildave)
#### Post date: [November 11, 2014, 9:33am UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/7 "2014-11-11T09:33:49Z")

</div>

We’ve proved to ourselves manually that auto-tweeting new topics is a great driver for new traffic to the forum.

However, getting this working technically without me coding something doesn’t seem possible. Does anyone have a good method of getting this working?

I’ve tried Twitterfeed hooked up the the `latest.rss` feed but the tweet it generates is not pretty and it’s not really usable.

Would love a pointer to a plugin that can be setup to auto-tweet new topics if such a thing exists? Or a functional alternative that can access all new topics and format the tweets.

Without access to webhooks I guess the only programmatical solution is to generate a new user and use the API to poll `/new.json` and prevent duplicate posting myself?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 11, 2014, 9:41am UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/8 "2014-11-11T09:41:56Z")

</div>

> [@daredevildave](#):
>
> I’ve tried Twitterfeed hooked up the the latest.rss feed but the tweet it generates is not pretty and it’s not really usable.

Can you be more specific? The RSS feed should work for this

---

<div class="post-metadata">

### Author: ![daredevildave](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daredevildave/32/102855_2.png) [@daredevildave](https://meta.discourse.org/u/daredevildave)
#### Post date: [November 11, 2014, 10:00am UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/9 "2014-11-11T10:00:28Z")

</div>

It works but the tweet that comes out looks like this:

[https://twitter.com/pc\_twittest/status/531771816906211328](https://twitter.com/pc_twittest/status/531771816906211328)

Though looking again at twitterfeed I could probably clean that up by just using the title.

Main issues is that I’d like only new topics, but there doesn’t seem to be a public feed for new topics. Can I get a new.rss feed using the API key?

---

<div class="post-metadata">

### Author: ![BCHK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bchk/32/3268_2.png) [@BCHK](https://meta.discourse.org/u/BCHK)
#### Post date: [November 11, 2014, 6:36pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/10 "2014-11-11T18:36:35Z")

</div>

> [@daredevildave](#):
>
> Main issues is that I’d like only new topics,

Yes - this is exactly the case. This is what I would like too.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [November 11, 2014, 9:43pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/11 "2014-11-11T21:43:27Z")

</div>

> [@daredevildave](#):
>
> Though looking again at twitterfeed I could probably clean that up by just using the title.

This is what you want to do. Works great for us.

---

<div class="post-metadata">

### Author: ![daredevildave](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daredevildave/32/102855_2.png) [@daredevildave](https://meta.discourse.org/u/daredevildave)
#### Post date: [November 12, 2014, 7:19am UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/12 "2014-11-12T07:19:22Z")

</div>

Yep, on re-examining twitterfeed. If you set it to follow `http://example.com/latest.rss` and only show the title. It seems like this will do the job.

I’m going to set it running for a while and see how it goes.

---

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [September 21, 2015, 4:21pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/13 "2015-09-21T16:21:26Z")

</div>

Twitterfeed isn’t very reliable. I’ve repeatedly tried to add a bit.ly account, and kept getting errors. After giving up on that, I tried to just add the `latest.rss` of my forum. After ~30 seconds, I got “something went wrong” (probably the backend timed out).

 ![](https://global.discourse-cdn.com/meta/original/3X/9/0/90695466df7b5fa420b83a3d6ff00b2fa3df082a.png) 

Tried again a few minutes later; no luck.

---

<div class="post-metadata">

### Author: ![curiositry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/curiositry/32/122427_2.png) [@curiositry](https://meta.discourse.org/u/curiositry)
#### Post date: [September 26, 2024, 9:33pm UTC](https://meta.discourse.org/t/auto-post-to-twitter/21235/14 "2024-09-26T21:33:56Z")

</div>

I’m curious what other people are using for this in 2024.

I’ve been using dlvr.it for many years, but now they have removed their free plan, and I can’t justify $9/mo.

Does anyone know of an inexpensive, free, or self-hosted alternative for low-volume posting?
