- Fixed support for new oEmbed endpoints recently released by Facebook's Graph API
- To embed facebook or instagram posts, it is required to set
access_token
property globally or in single instance. This will automatically injected to all embed URLs called with the embedo's instance. No breaking changes.
// facebook initialize options
new Embedo({
facebook: {
appId: {your-app-id},
access_token: {your-app-id|your-client-token}
}
});
// instagram initialize options
new Embedo({
instagram: {
access_token: {your-app-id|your-client-token}
}
});