Testing the new insta command
For easily embedding an Instragram photo.
Use the URL to the web page and not the image:
insta=http://instagram.com/p/tOvJxJtQhC
- will do a fetch on that URL
- parse the web page for the Open Graph meta property:
<meta property="og:image" content="http://photos-d.ak.instagram.com/hphotos-ak-xfa1/10684334_1534205166796627_1819483882_n.jpg" />
- use the content URL within an HTML img tag with width and height set to 320 pixels. I use 320 pixels the most when embedding an Instagram photo, so I'll default to that.
- maybe provide the option to specify width and height params. Instagram photos are normally 640 x 640 pixels. maybe allow:
insta=http://instagram.com/p/tOvJxJtQhC 640x640
From JR's : articles
99 words - 723 chars
created on
updated on
- #
source
- versions
Related articles
Junco user actions - Nov 01, 2013
Testing fenced code block commands - Sep 23, 2014
This is a test: with the colon punct in the title - Jul 16, 2014