astro / node-oembed

oEmbed consumer library for node.js & tools
MIT License
37 stars 15 forks source link

Some sites are now requiring a "for" parameter #9

Open tutley opened 8 years ago

tutley commented 8 years ago

When using some sites' oembed links, such as uproxx.com or rare.us, I get this error:

Please state who you are through the for query parameter.

tutley commented 8 years ago

Well, this is an easy fix:

oembed.fetch(url, { maxwidth: 1920, for: 'yoursite.com' }, function(error, result) {

astro commented 7 years ago

I cannot get these sites to work. Examples:

node bin/oembed_get.js "http://uproxx.com/news/tomi-lahren-real-time-video/" for=github.com
node bin/oembed_get.js "http://rare.us/story/things-got-testy-on-real-time-with-bill-maher-when-the-panel-debated-benghazi-trump-and-clinton/" for=github.com

…still return HTTP 501.