I’ve been having trouble with attaching images to my tweets. Just thought I’d bring this up in case I’m approaching it the wrong way.
I started out by trying to attach an image based on a single http:// url pointing to an image file. It was wasn’t working, so I read through this article:
I guess I don’t really understand why I need to provide all this information when I just simply want Twitter to take the Url I’ve given it, suck up the file and then include that image as part of the Tweet. But, perhaps I’m approaching this the wrong way?
Is it normal for a tweeting app to upload images in this way? Or, is it more of a common practice to upload the image to the Twitter account first, and then reference the image from the Twitter account? The photo entity requires a whole lot of information that doesn’t make sense if the photo has not already been uploaded to twitter. For example, why do I need to specify an ID? Presumably the image is located on some server away from Twitter - it won’t have an ID.
To make this clear, I don’t want to upload the images to my Twitter account because I want the images to be dynamically loaded from artists’ pages. If for example the artist updates their Last FM page, I want my tweets to reflect the new image automatically. I don’t want to have to manually monitor each page and know when an image has changed.
If anyone could give me some advice on this, it would be great. Also, an example of how to upload an image as part of a tweet from a url outside Twitter would be great.