Reputation: 1
Well I was able to post on a facebook page. But the access token expires when going through facebook. I found I need to generate an access token in order to post, which is fine. But in order to generate the access token I need to login which I don't want to happen.
Is there a way without logging into the facebook account I can post on a facebook wall? wherein my user account access details are already added into my program.
I am using graph api currently is there any better ways/ideas needed??
Upvotes: 0
Views: 748
Reputation: 89189
Unfortunately not, since Facebook Graph API uses OAuth 2 protocol for authorization and the protocol states that authentication must be done from the authorization server itself (in this case, Facebook).
Edit: You can use offline_access permission during your oauth authorization process and your access token will be long lived.
Upvotes: 0
Reputation: 76918
Have the user grant the offline_access permission to you and then the token won't expire.
Upvotes: 1