I have a Business Page in Facebook (known as a Fan Page in Facebook vernacular).
I want to post to that Page
whenever a user takes a certain action on my app. I want to post as the Page itself rather than a user (i.e. from my personal account). The post will come from my outside server (I am using restFB).
I have gone through the steps of authorizing my personal account with appropriate manage_pages
permissions for the Page. I have also gotten an access token for the page. I have even been able to post to that page as the page as I wanted to. The problem is that the token that I get (through their developer tools graph explorer) has an expiration of an hour. I need it to last much longer than that, preferably forever.
I've looked around the internet, including SO for the answer and most posts point back to the horrid FB docs or make vague references to hooking my outside application to a facebook application and posting through that. I've tried to make that work but I am confused by the whole process, quite frankly (what is a callback address, for example?).
Anyway, I'd love to see step by step instructions in plain English on getting a long lasting access token
that I can use to post from one application to a facebook Fan Page.
Please do not refer to the FB documentation. It is terrible. I've been through it a dozen times at least.
Thank you.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…