Closed RudReis closed 1 year ago
Can you explain more? what do you mean bring the result in json?
Before I took the download link by /api?url= and gave me the result, but now it is not even with the export const enableServerAPI = true;
I use it on my whatsapp bot:
The enableServerAPI
means that the /api/instagram
endpoint can be accessed from other websites/applications not that it will enable Instagram API, the Next.js app scrapes the post or reel page and if it doesn't find the "LD+JSON" it will return status code 401.
To use Instagram API you will have to implement their official API because i tried using the Auth cookie but the account just ends up being banned so i removed it.
Even with the "export const enableServerAPI = true;" it does not bring the result in json anymore