[Facebooker-talk] Facebooker and existing website?

Prateek Dayal prateek.dayal at gmail.com
Thu Apr 10 17:01:24 EDT 2008


Hi David

Thanks for the reply (and also for the excellent facebooker_tutorial
on facebook). I am afraid things just got a bit more complicated for
me.

> In my experience diving into these types of issues in the Rails source tends
> to be a serious time sync.  Can you just change your User class to Member or
> something like that.

On some more inspection, I found out the following

1. If I start my webserver and browse the website, everything works fine
2. If i access the facebook app and then try to browse the website, I
start getting error for all models that I have. For example, I have a
group model and I do a Group.find() to load  a page and I get an error
on Facebooker::Group:Class. Looks like everything is being referenced
as Facebooker::

Could this be related to any facebooker setting? I have a feeling that
the problem is not about two User class but about everything being
referenced in Facebooker module

Thanks again for helping me out

Regards
Prateek



>
>
> >
> >
> >
> > I have a slightly OT doubt on this. I was trying to setup a login and
> > password form in my app that could be use to link accounts at any
> > point. I noticed that fbml does not have a password field for forms.
>
> You can do password fields with the fb:editor-custom tag.
>
> <fb:editor-custom label="TravelersTable Password">
>      <%= password_field_tag 'member[password]', nil %>
> </fb:editor-custom>
>
> I think there is a helper for it.
>
> >
> > Is it mandatory to use iframe for this step in that case? Also can I
> > use ensure_application_is_installed_by_facebook_user  and other
> > facebooker methods in the iframe to get facebook uid and link with
> > account?
>
> You can call those methods.  They will cause redirects to happen if the user
> is not authenticated  so you will want to special case them.
>
> Dave
> >
> >
> >
> > Thanks a lot for your response
> >
> > Regards
> > Prateek
> >
> >
> >
> >
> > _______________________________________________
> > Facebooker-talk mailing list
> > Facebooker-talk at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/facebooker-talk
> >
>
>



-- 
Prateek Dayal

www.Muziboo.com
get an audience


More information about the Facebooker-talk mailing list