Skip to content

post does not work #6

Description

@hanscees

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions