Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"The post's links must direct to the application's connect or canvas URL" - error

I am trying to post to user wall but I am receiving this error when when share window pops up:

The post's links must direct to the application's connect or canvas URL

Now, I made a proper Google search in hopes to find a solution, but the only one given was that I need to disable "Stream post URL security". I checked the advanced settings for my app and it is already set to disabled.

So, by having a few years of experience with development on Facebook, and by knowing how incredibly bad the communication between us developers and FB has been in the past, I'm highly doubtful that they will assist me on this. Although I have heard that feedback is better here on SO than the good old FB platform forums. Well, lets see if my only option is to set my hair on fire or that there might be a kind soul out there that can assist.

like image 808
Henrik Petterson Avatar asked Feb 12 '12 19:02

Henrik Petterson


3 Answers

This answer from the WordPress forums via user Samuel Wood (Otto) worked for me:

Go to the Facebook App. Edit its settings. On the Advanced settings page, disable the "Stream post URL security" option.

like image 154
Justin McCraw Avatar answered Nov 01 '22 21:11

Justin McCraw


Did you generate the access token using the Graph explorer app on FB? Make sure you select your app from the select box on the top-right. It will be selected as Graph Explorer by default.

This error happens as the selected app would be Graph explorer and its canvas/site url is not pointing to your site. Doing this fixed my problem; it may fix yours as well.

like image 39
ExtremelyPoorMan Avatar answered Nov 01 '22 21:11

ExtremelyPoorMan


With the new app interface, issue is solved by turning off the "Stream post URL security" in the "migration tab"

like image 2
chris Avatar answered Nov 01 '22 20:11

chris