I am using the standard Feed Dialog
of Facebook to share posts on my website. The problem with this one is that I can't get it working because of problems with the redirect_uri
. That's very weird, because I own the app, the App ID is correct and the URL is correct... What might be the problem here? The error I get is: Requires valid redirect URI.
This is the code I am using:
<a href=https://www.facebook.com/dialog/feed?app_id=9999999999999&link=http://hereismylink.com/todays/&picture=http://fbrell.com/f8.jpg&name=%TITLE%&caption=testing1234&description=blablabla&redirect_uri=http://hereismylink.com>Share on Face</a>
PS: the redirect_uri and app_id are dummy text, normally, they are the correct numbers and letters on my site. I don't want to advertise here.
FYI: sandbox mode
is turned off
I solved it by stating the url of my page in the app domain
. It is too bad that the Facebook documentation lacks this kind of information, because it is essential to get it to work. Anyway, thanks lgy for giving me the link.