Skip to content

munyoudoum/automate-facebook-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate Facebook Post

Preview:

Screen Shot 2022-08-05 at 11 25 05 PM Cropped https://www.facebook.com/169975945600437

Generating a never expiring Facebook token

  1. Go to https://developers.facebook.com/tools/debug/accesstoken/
  2. Input your short lived token
  3. Click Extend Access Token
  4. GET https://graph.facebook.com/v14.0/App-Scoped-User-ID/accounts?access_token=extendedtoken Screen Shot 2022-08-05 at 3 36 04 AM

Export Environment Environment Variables

export FACEBOOK_POST_ID=pageid_postid
export FACEBOOK_ACCESS_TOKEN=XXX

References

About

Automatically update facebook post using Facebook Graph API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published