I've noticed that some recent tweets have media associated with them, for example photos from TwitPic or Flickr and videos from Youtube. You can see them on the Twitter website directly, so it's more than just a link. My thinking is that Twitter has formed these partnerships with these select suppliers of media, being Flickr, Twitpic and such.
I'm looking to automate some tweeting from an image gallery. Yet, I do not wish to upload these photos to another place. I want to host them myself and then embed/refer to them from a tweet. Yet, they should also be seen inline.
Is such a thing possible?
2017 edit: Looks like you can get a media_id via POST media/upload and then pass the id into POST statuses/update.
2014 edit: You can add media to tweets using POST statuses/update_with_media.
Original 2011 answer: No, you can't embed media into a tweet, nor can you upload photos to Twitter.
The "embedded" media you see is just Twitter scraping the URL for the photo or video, and showing it directly within Twitter, saving users from needing to click on the link to view the media. And Twitter only scrapes media for certain popular sites.
If you want Twitter.com users to see your images inline, you'll need to upload images to one of the popular image sites you mentioned, and have its URL in your tweet.
If you still want to drive traffic to your site, you could also include your gallery's URL within the same tweet.
But keep in mind that not everyone uses Twitter via Twitter.com; there are a plethora of Twitter clients available, and I doubt many feature inline media scraping.
I'd suggest just linking to your gallery/images, and not worry about uploading them elsewhere.
You can do all this and more. (and Twitter DOES allow you to upload images). Look at the documentation for Twitter cards.
https://dev.twitter.com/docs/cards
Related
our requirement is like we want to showcase the Twitter live feeds(Timeline Post) in tableau dash-board. we had tried many things but its not give us the live post from twitter.
We try to embed the link generated from twitter that doesn't show me the the image or anything, same with if URL as well
can anyone provide me any help regrading this
I need to share the URL of a video on Facebook and Twitter but some of the videos are hosted on ooyala. I didn't get any direct link for videos which are hosted on ooyala, like for videos that are hosted on YouTube.
How can we access the videos which are hosted on ooyala directly by URL like YouTube?
Ooyala is not exactly like YouTube. It doesn't have a public-facing website to browse all the videos it stores. Ooyala provides video hosting, but every customer is in charge of displaying the video to the end users, so if, for example, Vice uploads an asset to it, the URL that you should use to share on social networks is the article on vice.com it belongs to.
Disclaimer: I work at Ooyala.
Niles, to address you comment about shared to Facebook; Ooyala recently released an updated Syndication method specifically to share videos directly to Facebook (as well as existing method to do the same direct sharing to Youtube)
Check out this link to learn more about how to syndicate directly to Facebook. http://support.ooyala.com/users/documentation/tasks/syndication_facebook.html
i need to put videos taken from a specific vimeo album. The videos are private (hide from video) so i need to use the advanced api but it seems that OAuth needs an user click to proceed. How can i show directly the videos?
First, if you are starting now I would recommend the new API
Second, if you are only ever using a single user you can just hard code your authentication into your app. Vimeo's documentation describes this feature in more detail.
Now that twitter is on a media rampage you can see on twitter pictures and youtube videos directly imported from a few sites.
Twitpic also has a full integration with Twitter.
My question is : Are there some metatags that I can add so that Twitter pick up the pictures from my site ? A special declaration to make somewhere ? I wasn't able to find any documentation and I'm afraid this is only a special integration with authorized partners.
I would normally flag this as a dupe, but since I recently discovered two questions regarding this topic instead of one. I'll add them below . .
How do I add an image to a tweet or how does twitter decide which image urls to render
Display media in tweet via API?
. . also Twitter is releasing an API related to the images, however it's not out yet.
https://support.twitter.com/articles/20156423
I currently have an iOS app with facebook integration that allows users to post their photos to facebook.
I want to add twitter integration as well, but I couldn't find any information about it. I read somewhere that it's now possible to upload photos directly to twitter, without an external site, such as twitpic.
Does twitter provide an iOS API in the same manner that facebook provides their APIs?
I looked over ShareKit, but it has tons of features that I don't need and the workflow of uploading a photo is customized in my app. Worst case, I'll copy-paste some code from ShareKit, but I'm not sure it even has the ability to share a photo to twitter.
Twitter doesn't provide it's own photo sharing API. You have to upload your photos somewhere (on your own server, twitpic, etc.) and get the link and post the photo's link along with the tweet text.
I haven't used twitpic before but it looks like they have their own API that you can check out here.
If you're uploading them to your own server, you should use bit.ly's api to shorten the URL's of the photo links to provide more tweet text space. Info on bit.ly's API is here.