Giter Club home page Giter Club logo

twitter-oauth-geektool-script's People

Contributors

gmanual avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mhf80 sandy4321

twitter-oauth-geektool-script's Issues

Tweets with newline breaks formatting.

This should be a somewhat easy fix in theory but a bit more difficult in practice, just need to identify the new line character in the tweet, then add the padding value before starting the new line text.

This should push tweet text on a newline out in line with the rest of the tweets.

Unable to determine order of command line arguments.

I believe this is a documented bug in the argparse module where command line arguments are returned randomly, currently there is no limitation on combining -m or -t arguments and will return them in a set order tweets first then mentions etc. regardless of the order then were entered in the command line.

I don't think this is a big issue because this script is designed to run in GeekTool and you can just create a new shell command and separate the commands functions but this working properly would be nice (and cleaner).

Solutions would be to use an alternative to argparse or do some manual command line checking.

Dodgy OAuth details checking.

Currently when trying to authenticate to Twitter using OAuth it will check that the config file that CONSUMER_KEY, CONSUMER_SECRET, ACCESS_KEY, ACCESS_SECRET values exist but does not test if these are valid variables when making API calls.

Tweepy has a verify_credentials which should be used.

Word wrap tweet text at set number of characters.

At the moment GeekTool either cuts off the output if the tweet text is longer than the GeekTool shell space, if you use the 'Force carriage return' value it will break formatting.

Having an option to set the number of characters tweet text should be then forcing a word wrap to a new line would be an ideal solution. Need to use some code to make sure tweet text is only wrapped after space characters and not in the middle of a word.

Python compatibility..

Currently the only tested working version of python is version 2.7, backwards compatibility to at least python 2.5 would ease setup.

Not getting output

I run /usr/bin/python /pathtoscript.py -t -c30 as described but it gives me no output. Keys set up properly (I also dont get error messages). Please help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.