Hello,
When I try to configure facebook app in the admin panel I get the next error when I'm trying to save:

Failed to get application properties (#MYLABEL#) from Facebook: The method you are calling or the FQL table you are querying cannot be called using a session secret or by a desktop application. 15

This is happening on 2.x-rc2, 2.x-dev & 3.x-dev. This error started yesterday (22 Aug 2010).
When I'm using old app it does *not* happened.
I saw that FB changed their API and the App interface. Is it related?

Regards, oc666

Comments

oc666’s picture

Hello again,
When I try to test the function admin.getappproperties (which make the error) in the facebook reference:
http://developers.facebook.com/docs/reference/rest/admin.getappproperties

I get the same error:

{
  "error_code": 15,
  "error_msg": "The method you are calling or the FQL table you are querying cannot be called using a session secret or by a desktop application.",
  "request_args": [
    {
      "key": "properties",
      "value": "application_name"
    },
    {
      "key": "method",
      "value": "admin.getAppProperties"
    },
    {
      "key": "access_token",
      "value": "MY_ACCESS_TOKEN"
    },
    {
      "key": "format",
      "value": "json"
    }
  ]
}

Is it facebook bug?

Dave Cohen’s picture

Sounds like a change that facebook made. I'll have to look into this...

Dave Cohen’s picture

I couldn't reproduce this.

Are you accessing the site on a domian that facebook can see? That is, use a URL like example.com/admin/... to administer drupal, and not localhost/admin/...

oc666’s picture

It happened only with new applications. Try to use add new facebook application to your drupal facebook module.
Additionally, did you check my second message?

Thanks