-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
post does not work #6
Comments
it would be nice for people using your code if you would include a standard script that actually has been verified by you to work. |
I also verified now that posting to twitpic works from a python script, but using twitpic commandline does not work. The working code is (using python 2.7): ################################# twitpic = twitpic.TwitPicOAuthClient( response = twitpic.create('upload', { print(response['url']) It would be nice by the way if you could publish a script that also directly posts a tweet on twitter with a text and the resulting twitpic url |
The goal of this library interact strictly with twitpic's API. If you need to publish this to your twitter feed, the twitter library that you used to get your access token will also have a method to publish to your feed. As for the commandline tool, I'd have to take a look, though my time is limited at the moment. |
Hi,
been trying to use the script to upload but to no avail.
is this right?
twitpic -m bomengids yUAOXeDFyw T7hDjQQ oauth_token=324319099-WiJyNkshqfgKahdcH0IBSCTVhYOVxzXxfBvsVyVd&oauth_token_secret=gSmkBDUAHKzY=%s bb7c3defd60 /root/pics/1.jpg
I have tried
oauth_token=3243yVd&oauth_token_secret=gSmzY
oauth_token=3243yVd&oauth_token_secret=gSmzY=%s
oauth_token=3243yVd=%20&oauth_token_secret=gSmzY=%s
oauth_token=3243yVd=%20&oauth_token_secret=gSmzY=%s
oauth_token=3243yVd&oauth_token_secret=gSmzY=%s
all respons I get is:
HTTP/1.1 401 Unauthorized
Server: nginx
Date: Tue, 20 Aug 2013 20:40:23 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
X-Powered-By: PHP/5.3.5-1ubuntu7.2
5e
{"errors":[{"code":401,"message":"Could not authenticate you (header rejected by twitter)."}]}
0
I am sure my twitter secrets etc are right because they work using this perl script:
http://hanscees-howto.blogspot.nl/2013/08/hacking-twitter-send-tweets-with-simple.html
The text was updated successfully, but these errors were encountered: