Post on Facebook Fanpage with PHP

Asked

Viewed 214 times

0

Good afternoon. I would like to take the following action: when someone registers a product on my site, I would like the same product to be registered on my site Fanpage facebook. I have created the application, I took the id and the password, but I still can’t make it work. It returns an authentication error and the code I am using is similar to the link below:

How to post on a facebook page using PHP

The error presented is this:

Graph returned an error: Invalid OAuth access token.

Someone can guide me?

1 answer

0

  • I read but have no idea how to generate this token yet ;(

  • your application is already published? when I did something involving facebook api I had to publish it first, a read here:

  • https://developers.facebook.com/docs/facebook-login/access-tokens

  • yes already published and approved tbm have id and password ok. only lack that access token I do not know where generates nor how.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.