Error posting to a facebook fanpage using php

Asked

Viewed 147 times

1

I have on two servers exactly the same php code. The code shares content from my site on a fanpage. The point is that on one of the servers the code stopped working and the following image error appears:

inserir a descrição da imagem aqui

How can I resolve this issue? Did the server block the facebook domain? Or it will be another problem for example php extensions (modules/Libraries)?

Note: the code already worked on this server, but for some reason it stopped working now. The code I’m using is on the following link: here

1 answer

1


The problem is that whatever the url you are hosting your application is not configured in your application configuration.

Go to the app settings(https://developers.facebook.com/apps) and ensure that the urls are equal. You have two options to enter: http://www.Foobar.com or http://Foobar.com. Your app will work with only one of them.

inserir a descrição da imagem aqui

Fonte

  • yes, I had already checked this question and I have everything correct. thank you!

Browser other questions tagged

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