Bringing CMS power to Facebook apps and social networking to Drupal websites.

What's this?

You're browsing a live example of Drupal for Facebook, a free and open-source platform.

take the tour

July 2013 Breaking Changes

I've received several warnings from facebook recently. The warnings say something like:


Your app, [App Name] has not enabled the migration for the July 2013 Breaking Changes.
...
[App Name], is currently using the following deprecated features:
Social Plugins (Like Button, Like Box) without absolute URL's in their `href` parameter.

Like buttons and other social plugins produced by Drupal for Facebook already use absolute hrefs. I have yet to find a single social plugin using a relative href in any of the apps which facebook is warning me about.

Logout link problems when facebook connected

Drupal sites using fb_connect.module may notice a new problem. The logout link doesn't appear to work until it is pressed twice.

If that affects your server, please try the latest build. There's a fix in the latest .dev build of Drupal for Facebook. Please test and I'll make a new release soon with this fix in it.

For more details, see: https://drupal.org/node/1926970

February 2013 Breaking Changes

Some users of Drupal for Facebook may have received an email today, a warning from facebook that they have 1 day to address a potential problem.

For most users, you are seeing this notice because modules/fb uses admin.getAppProperties on admin pages. The change to admin.getAppProperties is minor and should not break anything.

In short, for most Drupal for Facebook users, it is perfectly save to enable the Feb 2013 Breaking Changes, and doing so will remove the alert from Facebook.

Generate Facebook Access Tokens (shell script)

I'm often asked how to get an access token that allows a Drupal website to post to a facebook page.

Not long ago, facebook deprecated the offline_access permission. In doing so, they made this process relatively complex.

This Facebook token generator script attempts to walk you through the process.

Although Drupal for Facebook has some token generation tools built-in, this script can be used by a user who has privileges on facebook (i.e. to manage a page) but not privileges to administer Drupal.

Fix for XFBML.parse() or Mysterious Javascript Errors

For those of you noticing strange javascript errors or exceptions thrown by XFBML.parse() that started appearing in last few days...

These changes come from recent changes facebook made to their javascript API. The latest builds of Drupal for Facebook have a workaround. I recommend upgrading ASAP.

"This connection is untrusted" error - and how to work around it

A couple users have reported problems viewing canvas pages on Drupal for Facebook. The error is "This connection is untrusted" or something similar to that (depending on the browser).

Help Test Drupal for Facebook

I'm testing a pretty big change to Drupal for Facebook. If you have a moment, please help me test by logging into (and out of) www.drupalforfacebook.org.

Let me know whether everything works, or not, and what browser your using. Thanks!

For more details, see http://drupal.org/node/1679924.

Drupal for Facebook - The Next Release

Modules/fb has a long (sometimes arduous) history. Integrating Drupal
with Facebook's platform basically since the platform became
available. Back then, all Facebook apps were what we now call "canvas
pages"; Facebook Connect did not exist. Canvas pages were written in
FBML, whereas now they are iframes. Facebook has completely changed
their PHP and Javascript SDKs, and introduced the "Open Graph". In
short, these modules have changed a lot over the last couple years.
Almost every feature has been reimplemented once or twice.

Timeline Activity on Drupal for Facebook

For a while now, the modules/fb/fb_graph.module has included some helper functions to publish user activity to a facebook timeline. And now this site is demonstrating those features.

Here are the activities that may appear on your timeline:

  • Post - when you post new content to our forums, a link to the post will appear in your timeline.
  • Edit - when you edit a forum post, it will appear in your timeline as an edit.
  • Comment - when you leave a comment, that will also appear in your timeline, with a link back to the original post you commented on.

To enable/disable this feature, click the "my account" link (left), then click "edit" and check/uncheck the "Publish to Timeline" checkbox.

Update Your Facebook Apps by Oct 1st!

Facebook has made some changes to their platform (what else is new?) and all Apps need an upgrade. Read on to learn what Drupal for Facebook users should do...

Syndicate content