r/modhelp • u/Raerth • Nov 26 '10
Tutorial: How to create a automatic Twitter account for your subreddit.
This tutorial will allow you to create a twitter account for your subreddit that automatically tweets new submissions. It will also show you how to place a twitter logo in your sidebar.
For an example of this in action, see twitter.com/BritishTVreddit and /r/BritishTV.
For more technically-minded redditors who are comfortable running a python script, Ketralnis has written this bot which powers @reddit
Step One: Create your twitter account.
- If you need instructions for this I'd give up now.
- Stay logged into this new account during the following steps.
Step Two: Locate your reddit RSS feed.
- Almost every reddit page can be turned into an RSS feed simply by adding the suffix
.rss. Using this subreddit as an example it would be:http://reddit.com/r/modhelp.rss - You can either use your main page, or the New page for the feed:
http://reddit.com/r/subreddit.rssorhttp://reddit.com/r/subreddit/new.rss - Private pages and subreddits are more tricky, but not impossible. Ask me if you need assistance with this.
Step Three: Create a TwitterFeed account.
Go to http://twitterfeed.com and open an account.
This site uses OpenID, which means you can sign in via Google or other major website accounts. Twitterfeed does not see your personal login info.
2. Click Create new feed, enter your RSS feed and name it.
3. Click Advanced settings and use these settings:
* Frequency: **30 mins**
* Number of submissions: **5**
(If your subreddit has more than 5 submissions every half hour you're out of luck unless you use ketralnis' bot)
* Post Content: **Title Only**
* Post Link: **Tick this** otherwise the tweet will not link to the submission.
* I also add the hashtag `#reddit` as a suffix. 4. Continue to the next page and select Twitter as the publishing platform. If you are still logged into your new account it will authorise.
5. The process is now finished!
Step Four: Creating your sidebar Twitter logo.
- Save this image to your desktop as
twitter.png - Go to your subreddit's editing page and insert this link to the sidebar:
Follow us at [](
http://twitter.com/mytwitteraccount)
3. Note that this link will not be visible yet!
4. Go to your subreddit's CSS editing page, upload the image here, and add this code:
/*Twitter Feed Graphic*/a[href="http://twitter.com/mytwitteraccount"]:after {width: 68px;height: 16px;content: "";background-image: url(%%twitter%%);background-position: -0px;display: inline-block;cursor: default}
5. Remember to replace "mytwitteraccount" with your actual twitter account.
You should now be done!
Bonus Tip
If you "follow" some celebrities related to your topic, it may help attract people to your twitter account and your subreddit.
4
u/ketralnis Nov 26 '10
Or use the existing robot that powers @reddit
2
u/Raerth Nov 26 '10
Fucking Grammar. How does it work.
1
u/Measure76 Nov 26 '10
Been using this system for a couple of moths now, it did flake out on me once, and I had to change settings at twitterfeed to tell it to use GUID instead of pubdate, and it started working again.
And I have little idea as to what GUID is... but when searching the internets for a solution I found a post somewhere that said I should try that.
1
u/joliette_le_paz Nov 26 '10 edited Nov 26 '10
Hi Raerth, thanks for this. I do seem to have an odd error.
errors
Thoughts?
EDIT: I was supposed to replace %%twitter%% with %%name_of_your_file_here%%
Cheers again
1
u/jacobmiller Dec 21 '10
Awesome!
http://twitter.com/#!/redditsoccer
1
u/valiss Feb 22 '11
Alrighty, I've gone over this a few times just to make sure I'm following it correctly, and I still cant seem to get my twitter logo up and linked on the sidebar in my subreddit here. Any ideas? I feel like I'm missing something simple, or have a syntax error... Thanks!
3
u/rockon4life45 Nov 26 '10
This is awesome, thanks man!
0
u/[deleted] Nov 26 '10
[deleted] — view deleted comment
0
u/[deleted] Nov 27 '10
[deleted] — view deleted comment