Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram API Deprecation #5455

Open
2 tasks done
StrixOSG opened this issue Sep 9, 2024 · 12 comments
Open
2 tasks done

Instagram API Deprecation #5455

StrixOSG opened this issue Sep 9, 2024 · 12 comments
Labels

Comments

@StrixOSG
Copy link

StrixOSG commented Sep 9, 2024

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

Instagram Consumer API is being deprecated Dec.4, 2024 which means that the Instagram import option will likely cease to function: https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/

Expected behavior

Instagram API should continue to work or be removed. Is there any alternative?

Actual behavior

Instagram imports will cease to function after Dec. 4, 2024

@StrixOSG StrixOSG added the Bug label Sep 9, 2024
@Murderlon
Copy link
Member

Thanks for reporting. We may already be on the correct API but we'll double check.

@StrixOSG
Copy link
Author

Thanks for reporting. We may already be on the correct API but we'll double check.

For sure. From what I know though the permissions and API all use Instagram Basic Display which is what's being deprecated. Essentially their whole consumer API is just going away unfortunately. Which I think means no more Instagram import option, or it might just have to use the Business API and just be for businesses or creator accounts on Instagram.

@Murderlon
Copy link
Member

I looked into it again and you're right. It doesn't matter whether we have API access, going forward it seems only users whose accounts are business or creator would be able to use our library 🤦

@StrixOSG
Copy link
Author

I looked into it again and you're right. It doesn't matter whether we have API access, going forward it seems only users whose accounts are business or creator would be able to use our library 🤦

Ya unfortunately 😬 and I think in order to even provide that you'd have to use the other API they provide

@Murderlon
Copy link
Member

No but that's my point, the other APIs only work for users with professional (creator/business) accounts. There seems to be no solution to keep @uppy/instagram in place for regular users.

@StrixOSG
Copy link
Author

Instagram is officially gone, and as a result the Uppy provider no longer works. This should probably be removed or docs updated ASAP? @Murderlon @mifi

@StrixOSG
Copy link
Author

Screenshot 2024-12-10 at 11 21 10 AM
Screenshot 2024-12-10 at 11 20 56 AM
Screenshot 2024-12-10 at 11 20 48 AM

@mifi
Copy link
Contributor

mifi commented Dec 11, 2024

Doesn't it even work for business accounts?

@StrixOSG
Copy link
Author

Doesn't it even work for business accounts?

Unfortunately not. I believe it'd be a separate implementation task.

@argotechnica
Copy link

Sorry if this was covered but, can someone please clarify if I set up my own Instagram developer app and provide those credentials to the Transloadit Instagram integration, will the integration start working again? Or is the Instagram integration broken by the Meta API change regardless of credentials used?

@argotechnica
Copy link

Also, here's the text of the error to make searching easier: Invalid Request: Request parameters are invalid: Invalid scope: user_profile

@mifi
Copy link
Contributor

mifi commented Dec 12, 2024

yes looking at https://developers.facebook.com/docs/instagram-platform there no longer exists any API for retrieving users' photos on Instagram, except business accounts which is a separate API. We should indeed remove it from docs, demo and examples.

The only technically feasible alternatives I see are:

  1. Reverse engineer Instagram app's API or https://www.instagram.com/ API and use that - fragile.
  2. Use a browser simulator like Puppeteer to navigate/scrape Instagram's web app and present the data it in Uppy's UI - fragile
  3. Use some kind of AI to do the web scraping/navigating (not really feasible due to the current state of AI and their lack of reliability).
  4. Implement a Business-only account implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants