FYI for anyone else having this problem. I was getting this very helpful message "An unknown error has occurred" when trying this:

try{
    $me = $fb->api('me/');
}
catch(Exception $e) {
     drupal_set_message('Message: ' .$e->getMessage(), "error");
}

for some reason now you have to format it this way:

try{
    $me = $fb->api('/me');
}
catch(Exception $e) {
     drupal_set_message('Message: ' .$e->getMessage(), "error");
}

and it now works. This seems to have just become a problem in the last 24-48 hours.

Comments

Dave Cohen’s picture

Is this a bug in modules/fb? Or is there some incorrect documentation somewhere?

ntrepid8’s picture

I don't think this is a bug in DFF, it worked fine for me the "wrong" way until yesterday. See this post on the facebook developers forum:

http://forum.developers.facebook.net/viewtopic.php?id=103698

I think they must have changed something on their end which caused this to break. Anyway, it caused me some headaches so I figured I'd put it out there to save others some time if anyone else was having trouble.