• I installed your plugin but neither Facebook nor Instagram URLs were being recognized. Therefore I analyzed the source code and saw the oembed_providers filter is never called. This is the reason why the URLs are not being handled.

    The oembed_fetch_url action is handled if I add for instance a YouTube link.

    Any idea why the providers are not being registered?

Viewing 1 replies (of 1 total)
  • Thread Starter Christoph Bratschi

    (@cbratschi)

    It works fine with this code (without the filter hook):

    
    wp_oembed_add_provider('#https?://(www\.)?instagr(\.am|am\.com)/(p|tv)/.*#i','https://graph.facebook.com/v8.0/instagram_oembed', true);
    
Viewing 1 replies (of 1 total)
  • The topic ‘oembed_providers hook never called’ is closed to new replies.