Reputation: 25237
I see some tweets have some kind of HTML embedded. How is it possible to do this?
Upvotes: 5
Views: 258
Reputation: 1718
It's based on the oembed standard, but I don't know how you get on the list of approved oembed providers.
Upvotes: 0
Reputation: 6521
It certainly is a list of hardcoded partnerships, as @dtt101 suggested.
Evidence: here's a list of partners as taken from their javascript source (the js file with "hogan-more" in it, e.g. at t1-hogan-more-en-201203071014.js
):
edit: updated with domain names from the source
www.amazon.com
http://www.aol.com
http://itunes.apple.com
blip.tv
http://cnn.com
dailybooth.com
http://deviantart.com
http://dipdive.com
http://etsy.com
https://facebook.com
or http://facebook.com
https://secure.flickr.com
or http://www.flickr.com
www.foursquare.com
http://video.google.com
www.gowalla.com
http://www.hulu.com
instagr.am
http://justin.tv
kickstarter.com
http://www.kiva.org
http://www.livestream.com
www.lockerz.com
www.meetup.com
http://msnbc.com
http://mtv.com
http://www.nhl.com
http://photobucket.com
http://photozou.jp
plancast.com
rdio.com
http://slideshare.com
http://twitgoo.com
twitpic.com
twitter.com
twitter.com
twitter.com
www.twitvid.com
http://ustream.tv
http://vevo.com
vimeo.com
http://online.wsj.com
http://washingtonpost.com
www.whosay.com
https://with.me
or http://with.me
wordpress.com
yfrog.com
www.youtube.com
Upvotes: 7
Reputation: 2141
https://dev.twitter.com/blog/photo-upload-api tells you how it works. There is an API which you can use to attach photos to tweets.
Upvotes: 1