After creating a new App, I am getting these:



    * Failed to set the following properties for XXXX application. You may need to manually editing remote settings!

      Array
      (
          [uninstall_url] => http://XXXX .com/test/fb_app/event/post_remove
          [authorize_url] => http://XXXX .com/test/fb_app/event/post_authorize
          [callback_url] => http://XXXX .com/test/
          [connect_url] => http://XXXX .com/test/
      )

    * Failed to set application properties on Facebook: This method requires an HTTPS connection 8



CommentFileSizeAuthor
#12 Authentication.jpg52.88 KBfeelsys

Comments

Dave Cohen’s picture

Nothing we can do until facebook solves the problem.

http://github.com/facebook/php-sdk/issues#issue/82

Dave Cohen’s picture

After saving, go back to the application settings on facebook.com. Make sure the connect URL, canvas callback URL, and uninstall and authorize callbacks are set to just what appears in the error message.

Until this issue is solved, you have to take that step manually. Must be done the first time you save the app. After that, only if the values change.

Carlos Miranda Levy’s picture

I haven't looked more into it as I was able to enter the values manually.

But could it have something to do with the way PHP 5.3 handles arrays?
We have had to patch a bunch of modules to fix errors with arrays since upgrading to php 5.3.

Carlos Miranda Levy’s picture

To make it easy for others, here is where you have to enter the values manually on your Facebook Application:

  • [uninstall_url] => http://XXXX .com/fb_app/event/post_remove
    must be entered in
    Authentication => Post-Remove Callback URL
  • [authorize_url] => http://XXXX .com/fb_app/event/post_authorize
    must be entered in
    Authentication => Post-Authorize Callback URL
  • [callback_url] => http://XXXX .com/
    must be entered in
    Canvas => Canvas Callback URL
  • [connect_url] => http://XXXX .com/
    must be entered in
    Connect => Connect Callback URL
Dave Cohen’s picture

Thanks so much for taking the time to post that.

robert.oconnell’s picture

Subscribing

bonvga’s picture

subscribe

brandonprry’s picture

I am subscribed as well. I followed Carlos' advice, and it partially worked for me, only when I auth, my page is constantly redirecting to itself and never actually logging in. Has anyone experienced this?

brandonprry’s picture

After more playing around, I realised I am being authed properly, it's just not redirecting properly for some reason. The initial problem still exists.

Carlos Miranda Levy’s picture

I just noticed that one of the lines in my examples above included a "test" in the url which is not part of the example, so I removed it.

ben2010-1’s picture

@Carlos Miranda Levy
Where do I make these changes, I am not sure where to set the url values. Please help -Ben

feelsys’s picture

Version: 6.x-3.x-dev » 7.x-3.3-beta4
StatusFileSize
new52.88 KB

Only Deauthorize Callback URL been founded in my Facebook application under the authentication tab. Could you please let me know where I can find those fields that you mentioned above?