mpratt / Embera

A Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo for example, with their html embed code. It has advanced features like offline support, responsive embeds and caching support.
MIT License
335 stars 59 forks source link

Instagram oEmbed is deprecated #87

Closed TiGR closed 3 years ago

TiGR commented 3 years ago

So the docs specify that oEmbed would stop working starting September 7 and it is not working right now anonymously, it requires access_token.

mpratt commented 3 years ago

Hi @TiGR !

Thanks for the report! What version of Embera are you using? Version +2.0 has the new implementation so you can do the following for instagram / facebook:

$config = [
 'instagram_access_token' => 'yourtokenforinsta',
 'facebook_access_token' => 'yourtokenforfacebook'
];

$embera = new Embera($config);

Let me know if this works for you.

I updated the documentation for Facebook and Instagram in order to make it clearer.