in2code-de / instagram

Show instagram feed without API in a TYPO3 extension
https://www.in2code.de/agentur/typo3-extensions/instagram/
19 stars 13 forks source link

Import Error: "Unsupported request - method type: get" #25

Open dev-mokom01 opened 1 year ago

dev-mokom01 commented 1 year ago

A few days ago, the import task on our website started to fail on execution with the following error:

{ "error": { "message": "Unsupported request - method type: get", "type": "IGApiException", "code": 100, "fbtrace_id": "AI9LIdMR9ygI6-M7wbjRuEM" } }

The requested uri looks like this: https://graph.instagram.com/{user_id}/media/?fields=media,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username,children&access_token={access_token}

When I remove "media_url" from the uri, the feed ist shown (without media_url).

When I try to access the media item itself like this, the media_url is displayed: https://graph.instagram.com/{media_id}/?fields=caption,media_type,media_url,permalink,thumbnail_url,timestamp,username,children&access_token={access_token}

dev-mokom01 commented 1 year ago

The solution was to delete the app connection for Instagram and reinitialize it via the TYPO3 plugin.

Therefore this issue can be closed.