PoGo

command module
v0.0.0-...-95378c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2017 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址