Slogger icon indicating copy to clipboard operation
Slogger copied to clipboard

Can't get Twitter to work

Open rn7833 opened this issue 11 years ago • 1 comments

I can't seem to get Twitter to work with slogger and Day One. Foursquare works fine but Twitter I can't get to work. I attached screenshots of slogger_config and slogger. I must have something set up wrong with the twitter, pocket and flickr I haven't tried to set up yet. Foursquare works fine. config 1 slogger config3

rn7833 avatar Mar 14 '14 02:03 rn7833

I'm probably going to get flamed on this, but it looks like you have several unconfigured plugins. It would help diagnosing what's going on if you moved the ones you aren't using yet to the plugins_disabled folder, to keep the noise down on the logging (as well as in the config file, which you'll need to rebuild.)

But assuming none of the unconfigured plugins are causing runtime borking, looking at your slogger_config file, I don't see the Oauth tokens that I believe are required and are supposed to be generated by the plugin. Here's mine (redacted).

TwitterLogger:
  description:
  - Logs updates and favorites for specified Twitter users
  - twitter_users should be an array of Twitter usernames, e.g. [ ttscoff, markedapp
    ]
  - save_images (true/false) determines whether TwitterLogger will look for image
    urls and include them in the entry
  - save_favorites (true/false) determines whether TwitterLogger will look for the
    favorites of the given usernames and include them in the entry
  - save_images_from_favorites (true/false) determines whether TwitterLogger will
    download images for the favorites of the given usernames and include them in the
    entry
  - save_retweets (true/false) determines whether TwitterLogger will include retweets
    in the posts for the day
  - 'droplr_domain: if you have a custom droplr domain, enter it here, otherwise leave
    it as d.pr '
  - 'digest_timeline: if true will create a single entry for all tweets'
  - oauth_token and oauth_secret should be left blank and will be filled in by the
    plugin
  TwitterLogger_last_run: Thu Mar 13 22:37:45 2014
  twitter_users:
  - robwest
  save_favorites: true
  save_images: true
  save_images_from_favorites: true
  droplr_domain: d.pr
  twitter_tags: '#social #twitter'
  oauth_token: (SOME STUFF)
  oauth_token_secret: (SOME OTHER STUFF)
  exclude_replies: true
  save_retweets: false
  digest_timeline: true

Quick sanity check: When you ran slogger from the command line, did it open a web browser and ask you to authenticate to twitter? Here's an excerpt from the documentation:

Note: Some plugins have options that will be filled in automatically. For example, the Twitter plugin requires you to log in on the command line and enter a PIN, after which it completes the authorization and saves your token to the configuration. If you install a plugin which requires oAuth, be sure to run Slogger from the command line with "./slogger -o plugin_name" once to complete the login procedure and save your credentials.

robwest avatar Mar 18 '14 04:03 robwest