Comments (7)
Seems like a useful feature, but does it belong in the Twitter API wrapper
itself?
Original comment by dclinton
on 10 Jul 2008 at 9:51
from python-twitter.
I think it does since the goal is to make it as usable as possible. Having long
urls
and having the message default to error because the URL is too long seems like
a bug
to me. Having this small yet useful thing will seems like a error handler
(preventer).
Alternatively I would like to see the message gets split into sequential
messages.
Usually that's the way SMS works once u exceed a certain number, the message
will
split the messsage between the number of SMS necessary.
Original comment by [email protected]
on 11 Jul 2008 at 7:13
from python-twitter.
Original comment by dclinton
on 21 Jan 2009 at 7:52
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from python-twitter.
@acolorado
About splitting messages, acolorado, you can check issue 40. I made a little
patch
and placed there.
On wrapping tinyurl, does not seem to be difficult! Maybe on that spare time?
:)
Regards,
Rogério Schneider
Original comment by stockrt
on 24 Feb 2009 at 1:17
from python-twitter.
Find a patch attached for simple function to accomplish this.
Call api.ShortenUrl([url]) and a string is returned of the tinyurl for that
URL.
Original comment by [email protected]
on 17 Apr 2009 at 2:26
Attachments:
from python-twitter.
Original comment by dclinton
on 26 Apr 2009 at 5:56
- Changed state: Accepted
from python-twitter.
Added the beginnings of this in changeset
http://code.google.com/p/python-twitter/source/detail?r=6b05622a2e1a6a8ca0e082e4
61ad2cef2d4f6c38
TinyURL example and the framework for more
Original comment by bear42
on 16 May 2010 at 11:03
- Changed state: Fixed
from python-twitter.
Related Issues (20)
- Character Limit does not accurately match URL t.co wrapper
- NewFromJsonDict AttributeError HOT 2
- "UnicodeEncodeError: 'ascii' codec can't encode characters" during GetSearch() for utf-8 encoded search terms
- Current head (dca91beb7418) has a failing unit test HOT 1
- 404 - Dependency issue? HOT 1
- README.md did not get up to speed HOT 1
- Pip Install from source fails (google code) HOT 3
- api.GetMentions errors HOT 1
- import twitter produces AttributeError: 'module' object has no attribute 'Http' HOT 1
- Getting {“errors”:[{“message”:“Bad Authentication data”,“code”:215}]} using python-twitter API v1.0 HOT 5
- Direct Messages failing HOT 3
- GetPublicTimeline() is referenced in docs but not implemented HOT 1
- python 3.x HOT 2
- GetUser gives a "page does not exist 34" HOT 2
- remove dependency to python-oauth2 switch to oauthlib HOT 2
- GetUserTimeLine does not work
- status of python-twitter-1.1
- api.CreateList returns UnboundLocalError
- Cannot be installed with Pip HOT 2
- User behind a proxy will face a problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-twitter.