PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, November 3, 2022

[FIXED] How can I interact with a facebook app page without always generating a token

 November 03, 2022     facebook, facebook-graph-api     No comments   

Issue

I'm making an API to post to our companys facebook page but all documentation and request errors require me to get a page access token but this is supposed to run on the server and its a bit inconvenient for our dev team to every 2 months have to generate a new token and restart the app so my question is if its possible to use the app id and secret only or get a permanent token?


Solution

I found out a couple time after posting this question here at stackoverflow that facebook has system users that allow you to generate tokens for server side services that dont need a specific user data.

https://developers.facebook.com/docs/marketing-api/system-users

You will need to make your sys user admin to make posts and what not.



Answered By - DeadSec
Answer Checked By - Terry (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing