Need Guide to Fix Instagram Graph API Connection

Job ID: 40421807

Budget: ₹100 – ₹400 INR

We have a Flutter mobile application connected to a Node.js backend (Express + MongoDB). The app integrates Instagram login using Meta’s Instagram Business Login API.

Currently, the OAuth flow is partially working but unstable and inconsistent across devices.

After login, Instagram redirects to:

https://l.instagram.com/?u=...
Instead of directly hitting our backend callback.
This breaks the login flow.
Fix redirect issues (l.instagram.com wrapping)
Ensure callback always hits backend

I am also confused which app id and app secret(Facebook or insta)i have to use for requesting access permission from Instagram account