Skip to content
This tool imports Twitter favourites into Pocket.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pocket
static
twitter
.gitignore
LICENSE
main.go
readme.md

readme.md

PoGo

Written in Golang, this tool imports Twitter favourites into Pocket.

Instructions

  • Get yourself a Twitter access token and secret from http://dev.twitter.com
  • Get yourself a Pocket access token from https://getpocket.com/developer/
  • Execute the app go run main.go --consumerkey [TWITTER KEY] --consumersecret [TWITTER SECRET] --pocketapikey [POCKETAPIKEY]

Notes:

This will read tweets marked as favourites. If the tweet contains no links in the tweet, it will add the link to the tweet into Pocket. If the tweet contains a link it will add that to Pocket only if the URL has no file extension OR if the URL has a .html, .aspx, .md extension or if the host name is github.com. If the tweet contains a link to something other than the above condition it will be logged to the console that it has not been added to Pocket.

You can’t perform that action at this time.