TJ-Bot
Could anybody start me in the right direction for doing something like this? I've looked into a few different libraries but they seem extremely outdated, there are also a few programs in python that already do this but I want to create it myself.
I'm hopi
complex for what I'm trying to do.
You can use the Instagram API to fetch comments from a media post.
Here are some steps to get you started:
- Obtain an access token from Instagram by creating a developer account and registering your application.
- Use a library like RestTemplate or Retrofit to make HTTP requests to the Instagram API endpoints.
- Authenticate your requests using the access token you obtained in step 1.
- Use the appropriate endpoint to fetch comments for a specific media post.
- Parse the JSON response to extract the comments data.
If you find existing libraries too complex, you can also try making HTTP requests manually using HttpURLConnection in Java.
Keep in mind that accessing user data through APIs may require permissions and compliance with Instagram's API Terms of Use.
Feel free to ask for more specific help or clarification on any step of the process!