Active
Project:
Drupal for Facebook
Version:
6.x-3.0-rc13
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2011 at 12:49 UTC
Updated:
28 Jun 2011 at 20:24 UTC
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
Comment #1
Dave Cohen commentedIs this a bug in modules/fb? Or is there some incorrect documentation somewhere?
Comment #2
ntrepid8 commentedI 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.