[Facebooker-talk] Facebook Connect
Mike Mangino
mmangino at elevatedrails.com
Wed Aug 27 18:31:40 EDT 2008
You get an actual login button? Okay. I don't have time to work on it
this week, but I'll try to work on some integration next week.
For me, the key thing will be some helpers to wrap up the ugly js
that's required to make this pig work.
Mike
On Aug 27, 2008, at 6:03 PM, Christopher Redinger wrote:
> Well thanks for posting that. That's pretty much exactly what I've
> done. That prompted me to peruse facebook documentation some more, and
> found this FAQ:
> Q: When I try to log in using fb:login-button, I get redirected to
> Facebook. Why is this happening?
>
> A: While Facebook Connect is still in the beta testing phase, only
> users who are listed as developers of your application can log in and
> connect accounts. You add accounts as developers by editing your
> application settings in the Developer application. For more
> information, read about the Facebook Connect sandbox.
>
> Uh yeah, that seems to be related to my problem (trying to use test
> accounts, though)
>
> So, Mike, I'm in the category of it's working for me now.
>
> On Wed, Aug 27, 2008 at 4:45 PM, William Thomas
> <wthomas989 at yahoo.com> wrote:
>> I have played with it successfully in a rails environment. It is very
>> particular about the order that things get set up. Additionally I
>> have
>> attempted to create a facebooker session based off the info
>> provided by FBC
>> and failed.
>>
>> Here is my connect layout
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml"
>> xmlns:fb="http://www.facebook.com/2008/fbml">
>> <head>
>> <%= javascript_include_tag "prototype" %>
>> <link rel="stylesheet"
>> href="http://static.ak.connect.facebook.com/css/fb_connect.css"
>> type="text/css"/>
>> </head>
>> <body>
>> <%= yield %>
>> <script
>> src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php
>> "
>> type="text/javascript">
>> </script>
>> <script type="text/javascript">
>> FB_RequireFeatures(["XFBML"], function(){
>> FB.Facebook.init("XXXX",
>> "http://localhost:3000/xd_receiver.htm");
>> FB.FBDebug.isEnabled = true;
>> FB.FBDebug.LogLevel = 4;
>>
>> FB.Facebook.get_sessionState().waitUntilReady(function(){
>> //window.alert("Session is ready");
>> //If you want to make Facebook API calls from
>> JavaScript
>> do something like
>> //FB.Facebook.apiClient.friends_get(null,
>> function(result, ex){
>> //Do something with result
>> //window.alert("A friend: " + result[0]);
>> //});
>> //alert(FB.Facebook.apiClient.get_session().uid);
>> });
>> });
>> </script>
>>
>> <hr/>
>> <textarea style="width: 500px; height: 300px;"
>> id="_traceTextBox">
>> </textarea>
>>
>> </body>
>> </html>
>>
>>
>> ----- Original Message ----
>> From: Christopher Redinger <redinger at gmail.com>
>> To: facebooker-talk at rubyforge.org
>> Sent: Wednesday, August 27, 2008 1:20:23 PM
>> Subject: Re: [Facebooker-talk] Facebook Connect
>>
>> Ah. I am playing with it now; was hoping to see what you had done to
>> figure out why I couldn't get it working. :)
>>
>> On Wed, Aug 27, 2008 at 2:04 PM, Mike Mangino
>> <mmangino at elevatedrails.com> wrote:
>>> There is a little bit in Facebooker, but I couldn't get any of their
>>> examples to work. I tried to just render a simple login button and
>>> gave
>>> up.
>>>
>>> Have you guys had any luck with it?
>>>
>>> Mike
>>> On Aug 27, 2008, at 1:27 PM, Christopher Redinger wrote:
>>>
>>>> Is the facebook connect stuff in facebooker somewhere, or is
>>>> there a
>>>> separate project?
>>>>
>>>> On Thu, Jul 31, 2008 at 7:25 PM, Mike Mangino
>>>> <mmangino at elevatedrails.com> wrote:
>>>>>
>>>>> A couple of people expressed interest, so I will commit what I
>>>>> have. It
>>>>> should work, but so far I can't connect to the new
>>>>> api.connect.facebook.com.
>>>>>
>>>>> Mike
>>>>>
>>>>> On Jul 31, 2008, at 3:58 PM, BJ Clark wrote:
>>>>>
>>>>>> Mike,
>>>>>> I'm thinking about using it, want to toss something up on
>>>>>> github and
>>>>>> I'll
>>>>>> fork from there?
>>>>>> BJ
>>>>>>
>>>>>>
>>>>>> On Jul 31, 2008, at 1:43 PM, Mike Mangino wrote:
>>>>>>
>>>>>>> Is anyone planning on using Facebook Connect? I have the
>>>>>>> implementation
>>>>>>> that I think covers the user registration. I'm going to work
>>>>>>> on the UI
>>>>>>> stuff
>>>>>>> as well but would love to get some feedback on it.
>>>>>>>
>>>>>>> Mike
>>>>>>>
>>>>>>> --
>>>>>>> Mike Mangino
>>>>>>> http://www.elevatedrails.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Facebooker-talk mailing list
>>>>>>> Facebooker-talk at rubyforge.org
>>>>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>>>>>
>>>>>
>>>>> --
>>>>> Mike Mangino
>>>>> http://www.elevatedrails.com
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Facebooker-talk mailing list
>>>>> Facebooker-talk at rubyforge.org
>>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Christopher Redinger
>>>> http://www.agiledisciple.com
>>>> _______________________________________________
>>>> Facebooker-talk mailing list
>>>> Facebooker-talk at rubyforge.org
>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>>
>>> --
>>> Mike Mangino
>>> http://www.elevatedrails.com
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Christopher Redinger
>> http://www.agiledisciple.com
>> _______________________________________________
>> Facebooker-talk mailing list
>> Facebooker-talk at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>
>>
>
>
>
> --
> Christopher Redinger
> http://www.agiledisciple.com
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com
More information about the Facebooker-talk
mailing list