Closed (works as designed)
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Facebook Connect
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2010 at 15:44 UTC
Updated:
9 Sep 2010 at 00:31 UTC
I get this message "XXX call to deprecated FB_Connect.login_onclick." when I click on my "connect with facebook" button. This started happening after I upgraded to the most recent release of Drupal for FB and downloaded the new php libraries from Facebook.
Anyone know how to fix this?
Ntrepid8
Comments
Comment #1
Jakob Stoeck commentedI circumvented it like this in modules/fb/fb_connect.js:
Comment #2
ntrepid8 commentedWhy does the block still call it though? The drupal for facebook site doesnt produce that error. What is different about my site? Why is a Drupal for Facebook block calling a deprecated function?
Comment #3
Dave Cohen commentedBecause the block is configurable.
Right now, the defaults do not call that function. But, if you've customized the markup for the block, you should edit it again and remove the onclick attribute.
I agree with Jakob, using console.log is better than alert.
Comment #4
ntrepid8 commentedThanks Dave. We got it fixed. Your module is great and we are building a really cool app with it!
Ntrepid8
Comment #5
ntrepid8 commentedfixed