• fb_app id (1) does not equal fb settings id (NNN). This is usually caused by the wrong callback url on your facebook application settings form.
  • Drupal for Facebook is unable to override the theme settings. This is usually because some module causes theme_init() to be invoked before fb_init(). See the README.txt.

Prompting permissions

Dave Cohen's picture

Facebook recently changed the way applications affect user accounts and profiles. It used to be that a user would add an application, and in doing so the application was allowed to write to the users profile, minifeed and do other things on behalf of the user. In the new scheme, the user has more control over exactly what an application can do, and by default most of these permissions are turned off.

So, an application must prompt the user to add those permissions. In Drupal for Facebook there is a default way to do this. To see it in action, click My account >> edit >> Drupal for Facebook. (The last tab is called "Drupal for Facebook" because it is the name of this application. On your own site it will be the name of your app). On that page you'll see a number of links, each of which grants this application additional permission if you click it.

Right now, the page only works on canvas pages. So use http:://apps.facebook.com/drupalforfacebook, rather than http:://www.drupalforfacebook.org, to reach it. Also, it prompts for all available permission, even though this site does not make use of them all. For example, we don't post to the marketplace on your behalf.