Facebook Connect

16 views
Skip to first unread message

matthias.nitsch

unread,
Oct 7, 2009, 10:08:32 AM10/7/09
to Authlogic
Hello guys,

I try to setup Facebook Connect with the Facbook Connect Plugin. I
installed the facebooker gem and put following int my view:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://
www.facebook.com/2008/fbml">
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/
FeatureLoader.js.php" type="text/javascript"></script>

<%= fb_connect_javascript_tag %>
<%= init_fb_connect "XFBML" %>
<%= authlogic_facebook_login_button %>

as it is described in the plugins readme. The Connect button isn't
rendered on the page. Anybody ran into the same issue or has a hint
what the problem could be?

Thanks in advance
Matthias

Zero Padded

unread,
Oct 7, 2009, 3:56:25 PM10/7/09
to auth...@googlegroups.com
You need to generate the receiver:
script/generate xd_receiver

also check that you have these in place:
config.gem "facebooker" # environment.rb
facebooker.rb # under config with proper settings

Pelle Braendgaard

unread,
Oct 7, 2009, 9:12:01 PM10/7/09
to auth...@googlegroups.com
Another problem could be if you use jquery.

= fb_connect_javascript_tag
= authlogic_facebook_login_button # This helper generates prototype js
so edit it in the plugin to use jquery
= init_fb_connect "XFBML", :js => :jquery
--
http://agree2.com - Reach Agreement!
http://extraeagle.com - Solutions for the electronic Extra Legal world
http://stakeventures.com - Bootstrapping blog

matthias.nitsch

unread,
Oct 8, 2009, 9:57:03 AM10/8/09
to Authlogic
Shame on me! I didn't include prototype or jquery. Now everything is
fine and Facebook connect is working. Now I'm searching for a
possibility to connect an existing account to a facebook account. Hope
to find a possibility tomorow.
> --http://agree2.com- Reach Agreement!http://extraeagle.com- Solutions for the electronic Extra Legal worldhttp://stakeventures.com- Bootstrapping blog

michaeln

unread,
Nov 22, 2009, 10:39:36 PM11/22/09
to Authlogic
Does anyone have a working base of authlogic and facebook connect?
I've been trying to get this to work but having no luck. Authlogic
works fine, but facebook connect isn't.
> > --http://agree2.com-Reach Agreement!http://extraeagle.com-Solutions for the electronic Extra Legal worldhttp://stakeventures.com-Bootstrapping blog

Jocke Ekberg

unread,
Nov 24, 2009, 4:15:44 PM11/24/09
to auth...@googlegroups.com
Clone my repo at http://github.com/kalasjocke/authlogic_example it
should work if your connect-url is set to http://localhost:3000/ at
facebook!

--
Joakim
http://www.joakimekberg.se/
> --
>
> You received this message because you are subscribed to the Google Groups "Authlogic" group.
> To post to this group, send email to auth...@googlegroups.com.
> To unsubscribe from this group, send email to authlogic+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/authlogic?hl=.
>
>
>
Reply all
Reply to author
Forward
0 new messages