ADN-Crossposter
This is a simple Ruby app that scrapes a App.net user's RSS feed and posts to Twitter. An ADN developer account is not required. By default it runs every minute.
I created this to run as a single worker process in it's own Heroku app instance.
Config.rb Setup
-
Create a Twitter app with Read/Write Access. Generate your OAuth keys from Twitter's dashboard and put all 4 keys in the
config.rbfile. -
Fill in your App.net username in the
config.rbfile. -
You can also choose to send @replies to Twitter or not.
Heroku Setup
-
Create your Heroku app via Heroku's dashboard.
-
Create a git repository on your local machine and commit your config.rb changes (if you haven't already).
-
Set up a git remote pointing to Heroku. e.g.
git remote add heroku git@heroku.com:APP-NAME.git -
Push your git repo to Heroku.
-
Either through the Heroku dashboard or through your terminal, set your worker process to 1. e.g.
heroku ps:scale clock=1