Jump to content
UBot Underground

How To Post A Photo With A Tweet


Recommended Posts

Hi All

 

I'm wondering if anyone else has come across this same issue which I think might be related to an issue with HTML 5 not using the actual path to a file when uploading.

 

I'm trying to add an image to a tweet by manipulating the upload photo file upload field, but it doesn't work. What I have noticed is that the path to the image is altered to C:\Fakepath\\ etc etc and I'm wondering if that is they key to making it work.

 

Would love to hear if any of the experts on the forum have ever encountered anything like this?

 

Cheers

 

Mike

Link to post
Share on other sites

I made a huge bot for twitter, but I cannot upload pics... This is really annoying, sorry, I have searched a long time with no success

Link to post
Share on other sites

Thanks zenos - it looks like it's doable using http post... the requests are quite similar to those made by the api and the image is transferred with base64 encoding

 

When I get more time I'm going to try for that

 

I'd settle for a browser method for now though - so frustrating!

Link to post
Share on other sites
  • 1 month later...

No Not yet :-(

 

Closest I've got is usings aymens http plugin to connect via the api whereby you would be able to upload the image after base64 encoding it

 

Only problem is I can't get the api to work through Oauth2

 

Frustrating indeed!

Link to post
Share on other sites
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...