Ok, I know I am asking a question that has been asked thousands of times before, BUT I have not found an example or answer to my exact question. Any information or help is greatly appreciated.
So, here is my need:
I have a company page for a website. I created a facebook “app” so that I could get the app ID and key because I want the company website to be able to auto-post to the company page. For example, if the website admin gives a badge to someone, it would automatically make a post to the company page that the app is for and say, “This bad was awarded to this person.”
The thing is, I do NOT want the website admin to have to log into facebook to do this. I want the website code to do everything. Is there a way for the facebook app to be owned by the company page so that it can always make posts automatically to the company page? Or is there no way of getting around the company page owner signing into facebook through the website?
Any informational links and examples would really help here too. So again, the goal is for the website, without any person signing in, to make a post to the company page. Thanks again~
You will need to first get a user access token and then exchange it for a long-lived access token with
manage_pagespermissions. Then you can post to the Page using the token.More info:
how to post facebook user wall/ page status by a single user only no app install for other users
You will have to refresh the long-lived token every 60-days.