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

New Facebook and Instagram endpoints #74

Closed n3t closed 4 years ago

n3t commented 4 years ago

According to Facebook documentation and Instagram documentation current endpoint will be functional only until October 24, 2020.

This PR introduces new endpoints, which requires access_token. To keep backward compatibility, if no access token is provided in Embera config, legacy endpoint is used. Note, that for access token could be used combination of {app_id}|{app_secret} (see here).

mpratt commented 4 years ago

Hi @n3t ! Thanks for the PR. I was aware of the changes on Insta and was thinking how to deal with it and your PR came just at the best time. I'll be merging your PR on the next couple of days with a Few changes I have on the backlog.

n3t commented 4 years ago

Hi @mpratt ,

great news, thank you.