This video explains the concept of calling Facebook(Meta) APIs and post message in a facebook group
Different Facebook APIs need different access tokens. So, here it's explained how to generate access token and call the api
STEPS TO BE FOLLOWED:
1. CREATE FACEBOOK CLIENT APP & SETUP FACEBOOK LOGIN
2. HIT BELOW OAUTH AUTHORIZATION ENDPOINT TO GET USERNAME & PROFILE PICTURE ACCESS
https://www.facebook.com/v16.0/dialog...
3. HIT BELOW ENDPOINT TO GET GROUP LIST & GROUP POST ACCESS
https://www.facebook.com/v16.0/dialog...
4. EXCHANGE AUTHORIZATION CODE FROM ABOVE STEP WITH USER SHORT LIVED ACCESS TOKEN USING BELOW ENDPOINT
https://graph.facebook.com/v16.0/oaut...
5. FETCH USER JOINED GROUPS USING BELOW ENDPOINT
https://graph.facebook.com/v16.0/me/g... FROM STEP 4
6. FINALLY, MAKE POST REQUEST WITH MESSAGE USING BELOW ENDPOINT
https://graph.facebook.com/v16.0/GROU... FROM STEP 4
graph api tool:
/ explorer
url encoder:
https://www.urlencoder.org/