Instagram oembed is created as document instead of image

Created on 11 September 2015, over 9 years ago
Updated 26 November 2024, 4 months ago

I have created the following provider for Instagram:

$provider = new stdClass();
$provider->disabled = FALSE; /* Edit this to true to make a default provider disabled initially */
$provider->api_version = 1;
$provider->name = 'instagram';
$provider->title = 'instagram';
$provider->endpoint = 'http://api.instagram.com/oembed';
$provider->scheme = 'http://instagram.com/p/*
http://instagr.am/p/*
https://instagram.com/p/*
https://instagr.am/p/*';

It is working quite right so far, but I was guessing if the oembed Media File Entity could be recognized as "Image" instead of "Document".

Thanks.

πŸ’¬ Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain pedrosp Madrid, Spain

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024