kosso
unread,May 12, 2008, 8:53:09 AM5/12/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Twitter Development Talk
Hi,
I was looking at whether it was possible to POST/upload a new avatar
image via the API.
It is possible for cUrl to post multipart forms with a file upload
from the command line, but looking at the form on the Picture settings
page, there is a hidden field called 'authenticity_token'.
Would it be possible to generate/retrieve this after say, a call to
the 'verify_credentials' method?
This goes further to an idea / proposal for the generation of some
kind of 'token' which an application can use to post on a user's
behalf. This would then mean that external, third party apps never
need to store the user's password.
thx
kosso