I am attempting to make use of Meta's Instagram API. This API requires OAuthentication to receive the media data of a certain user of course. In regards to the project I am looking to make, I am attempting to have a website that will make a random post on my instagram page appear, and I am looking to deploy this website publicly so that any person may see the random post on this website. However the challenge is that if a user were to go onto my website there is no way for that user to fetch the media data of MY instagram account because to fetch that data, an access token is needed ofc. Meaning the user would need to log in to receive an access token, but they would not get an access token that can be used for my data of course, it would display their data instead. Even though I want it to be my media displayed for the user. Is there any loop hole around this? My first idea after thinking is that I would need to create a script that would fetch my own instagram media data with OAuth, and then place that data into a database. Then create a public API route that can hit that database and use that API link in the project I am trying to make so that it may grab my instagram data without the user needing to go through any OAuth since it is already done on the API database I am making. Please let me know if this is the most logical method or not, thank you would mean a lot!
ngl, this doesn't sound like C++