jstolpe / instagram-graph-api-php-sdk

MIT License
112 stars 29 forks source link

VIDEO media_type deprecated #12

Closed michaelsylva closed 10 months ago

michaelsylva commented 12 months ago

in the {ig_user}/media endpoint you can no longer use media_type='VIDEO' it now must be media_type='REELS' still with the video_url parameter.

johanvelthuis commented 10 months ago

Only change needed is changing the const below, Justin, could you please change this. Then we don't need to fork your repository.

class MediaTypes {
    const VIDEO = 'REELS';
    const CAROUSEL = 'CAROUSEL';
}
jstolpe commented 10 months ago

updates for reels and stories are in release v1.0.6 thanks for pointing this out!