Skip to content

Commit

Permalink
PumpTweet now working with current PyPump.
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Perkins committed Sep 1, 2015
1 parent 1f5cac7 commit a4f06f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,12 @@ Configuring Twitter

To get the client validated with Twitter, use your favorite web browser. This assumes you already have a Twitter account.

* Go to <https://dev.twitter.com/>.
* Sign in using the link in the upper right corner.
* Hover your mouse over your avatar in the upper right corner. Click on `My applications`.
* Go to <https://apps.twitter.com/> and sign in.
* Click `Create a new application`.
* You need to give it a name (like `pumptweet314`), a description (like `A cross-posting script from Pump to Twitter.`), and a website (if you make a fork of pumptweet on GitHub, that would be a nice URL, but anything is OK). Also check the box agreeing with their terms and answer the CAPTCHA.
* Click on the `Settings` tab. Change `Access` to `Read and Write`. At the bottom of the screen, click `Update this Twitter application's settings`.
* Click on the `Details` tab. Near the bottom of the screen click `Create my access token`.
* Click on the `OAuth tool` tab. This screen should show you the four values needed in the ini file. Copy and paste them. That's all you need to do for `[twitter]`.
* Click on the `Keys and Access Tokens` tab. This screen should show you the four values needed in the ini file. Copy and paste them. That's all you need to do for `[twitter]`.


Running the script
Expand Down
2 changes: 1 addition & 1 deletion pumptweet/PumpTweet.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_new_activities(self, testing=False):
obj = activity.obj

# Only post notes to Twitter.
if obj.objectType != 'note': break
if obj.object_type != 'note': break

# Skip deleted notes.
if obj.deleted: break
Expand Down

0 comments on commit a4f06f8

Please sign in to comment.