So I finally got the API working. Now Instagram posts can be automated to post the latest news with the most sources which has an image url in one of the sources (Insta @https://www.instagram.com/weawarenews/). This was a tedious process. Only authenticated requests go through and they are authenticated through a header. Since there’s only one team that is going to be using the automation at once, it makes sense and I dont need to generate mutliple API keys. The following are the endpoints:
- GET: This returns the corroborated story ID, number of sources for that particular story, and the articles.
- POST: This is used to mark a story as posted so this will help in avoiding duplicate posts!!
Thank you so much for following along!! Hope you have a great day ahead ^^