Marius Cotofana
Marius Cotofana

Reputation: 1179

Facebook posts on facebook page

How can I make my (javascript) app to post to a Facebook page (that I own), without the need of explicit login (no pop-up windows) ?

From what I have read, I need a page_token to be able to post. Can I get this token using my credentials, or a facebook app ? I want to create post when a user does something in my app, but I want to avoid asking my users for their passwords. Thats's why I want to use my password for all users or use a facebook app for this.

Can it be done ?

Upvotes: 0

Views: 93

Answers (1)

Sahil Mittal
Sahil Mittal

Reputation: 20753

You are right, you need a page access token to post on a page on he page's behalf.

You can get a never expiring page access token that you can use while creating the posts. I've explained the procedure of getting the token with steps here: Get access token to facebook page - WPF.

After you get this token, use this token with the call by adding the parameter access_token.

Upvotes: 1

Related Questions