Authentication headers on POSTs for Twitter).
Zac Bowling
@zbowling
On Jun 3, 2010, at 6:37 PM, Yann Malet wrote:
Zac,
I would love to do this but I can't find any documentation on how to do
Oauth Echo with python-oauth2. I would gladly switch to python-ouath2 if I
could find some code
--a45bd25da2844dac81003987b3c19e18
Content-Disposition: form-data; name=message
Content-Type: text/plain; charset=utf-8
Content-Length: 13
copine et moi
--a45bd25da2844dac81003987b3c19e18--
^C
(ve)y...@yml-laptop:jess3$
Does any one can spot the issue ?
Regards,
--yml
On Fri, Jun 4, 2010 at 9:14 AM, Yann Malet yann.ma
is invalid (not jpg/png/gif or 5MB in size).
Thanks,
Steve C
Twitpic
On Jun 4, 9:20 am, Yann Malet yann.ma...@gmail.com wrote:
If I send this request to 127.0.0.1:9000 without the file here it is the
string I can observe :
(ve)y...@yml-laptop:jess3$ netcat -l -p 9000
POST / HTTP/1.1
I have just uploaded the same image using the web interface :
http://twitpic.com/1ttrlu
http://twitpic.com/1ttrludo you have any recommendation ? On how to solve
this issue.
http://twitpic.com/1ttrluRegards,
--yml
On Fri, Jun 4, 2010 at 9:56 AM, Yann Malet yann.ma...@gmail.com wrote:
Steve
Thanks Steve for your reply but has you could see in the second code snippet
I have posted i have changed this from POST to GET without much success.
I had also replaced the http_url has you suggest.
One of my question is how does the file should be sent in the ?
multipart_encode or urlencode
Zac,
I would love to do this but I can't find any documentation on how to do
Oauth Echo with python-oauth2. I would gladly switch to python-ouath2 if I
could find some code showing How to use it to post a picture on twitpic :
http://dev.twitpic.com/docs/2/upload/