I’m currently using Pathfix and Twitter OAuth, but I haven’t found a clear way to post a tweet with an image. Nor have I been able to find documentation. Uploading plain text is working perfectly, but the image part is what I’m stuck on.
In the workflow, I’m putting the value of the image uploader but I don’t think that’s right.
Then on the backend, I added the text, “Post to Twitter,” there is no option for “and” or “merge,” but it does allow me to add “Image to Tweet.” I really don’t think this is right either.
Assuming that is the case and my first suggestion didn’t work, I would suggest attempt to send a post without using dynamic data to figure out what format works and then adjust the dynamic data to match the required format.
Sending a post without an image DOES work. I did read the docs. I’m sure it’s going to be something so simple in the long run that I just missed. Thanks.
To add an image to a tweet you have to upload the image to twitter first with a call to the media endpoint and then include the returned media_id in the call to send the tweet. It’s a two step process.