Are you testing on an internet-accessible server ? To get the Facebook
uid, you need Facebook servers to see your server.

Fabrice


On Dec 21, 6:32 pm, Andrés Cristi <andrescri...@gmail.com> wrote:
> Currently i'm having a similar problem.
> I'm working with symfony 1.4+sfDoctrineGuardPlugin.
> My problem is that the the user seems to be null, so when it is saved
> to the database, the username is saved like Facebook_, when it should
> be something like "Facebook_".$FacebookUserId.
> I've read the documentation from the advent calendar and i still
> haven't found how to solve this.
>
> Cheers,
> Andrés
>
> On 8 dic, 23:27, Hardeep Khehra <hardeep.s.khe...@gmail.com> wrote:
>
>
>
> > Not sure what I'm doing wrong, but for starters i'm beginning a fresh
> > project using symfony 1.4, but I can't get this plugin to work for the
> > life of me.
>
> > I've followed all the instructions and cannot get this plugin to work
> > using sfDoctrineGuardPlugin.
>
> > The facebook dialog appears and i can log into facebook, but the user
> > is never added to the database.
>
> > I installed the plugin by downloading the packaging and unzipping to
> > the plugins folder.
>
> > On Dec 8, 7:46 am, Fabrice Bernhard <fabri...@theodo.fr> wrote:
>
> > > Hi Zach,
>
> > > You don't need any sfFacebookConnect filters in a standard
> > > implementation.
>
> > > Better documentation will soon be online as part of the symfony 2009
> > > advent calendar :-)
>
> > > Cheers,
>
> > > Fabrice
> > > --http://www.theodo.fr
>
> > > On Dec 8, 7:28 am, Alexandre Salomé <alexandre.sal...@gmail.com>
> > > wrote:
>
> > > > Hi,
>
> > > >   You should contact the author of the plugin to have more 
> > > > informations, or
> > > > look for a README file or an INSTALL file.
>
> > > > Alexandre
>
> > > > 2009/12/7 Zach <zach...@gmail.com>
>
> > > > > I have run into another error...
>
> > > > > I am running the sfFacebookConnectDemo. It prompts me to connect, I
> > > > > enter my facebook email and password, click connect, and I get this
> > > > > error:
>
> > > > > Strict Standards: Non-static method
> > > > > sfFacebookGuardAdapter::getUserProfileProperty() should not be called
> > > > > statically, assuming $this from incompatible context in /var/www/
> > > > > losebig/plugins/sfFacebookConnectPlugin/lib/
> > > > > sfFacebookApplicationFilter.class.php on line 25
>
> > > > > Fatal error: Cannot call abstract method
> > > > > sfFacebookGuardAdapter::getUserProfileProperty() in /var/www/losebig/
> > > > > plugins/sfFacebookConnectPlugin/lib/
> > > > > sfFacebookApplicationFilter.class.php on line 25
>
> > > > > If I refresh the page, it says "Welcome Zach Fry" and has my facebook
> > > > > profile picture. I'm not sure how I am supposed implement the filters,
> > > > > and wondered if someone could show me what the filters.yml file is
> > > > > supposed to look like. I don't really know where my problem lies, but
> > > > > I thought it might be the filters since I didn't know what I was doing
> > > > > when I implemented those. here is my current file:
>
> > > > > rendering: ~
> > > > > web_debug: ~
>
> > > > > facebook_connect:
> > > > >  class: sfFacebookConnectFilter
>
> > > > > security:
> > > > >  class: sfGuardBasicSecurityFilter
>
> > > > > facebook_application:
> > > > >  class: sfFacebookApplicationFilter
>
> > > > > sfFacebookConnectRememberMe:
> > > > >  class: sfFacebookConnectRememberMeFilter
>
> > > > > #sfFacebookSecurity:
> > > > > #  class: sfFacebookSecurityFilter
>
> > > > > cache:     ~
> > > > > common:    ~
> > > > > flash:     ~
> > > > > execution: ~
>
> > > > > Thanks for your help.
> > > > > I've been struggling getting all this to work right.
>
> > > > > On Dec 3, 5:27 pm, Fabrice Bernhard <fabri...@theodo.fr> wrote:
> > > > > > Great you managed to solve your problem, although it would have been
> > > > > > nice to actually see what you did wrong.
>
> > > > > > Cheers,
>
> > > > > > Fabrice
> > > > > > --http://www.theodo.fr
>
> > > > > --
>
> > > > > You received this message because you are subscribed to the Google 
> > > > > Groups
> > > > > "symfony users" group.
> > > > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog
> > > > >  legroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/symfony-users?hl=en.
>
> > > > --
> > > > Alexandre Salomé -- alexandre.sal...@gmail.com- Hide quoted text -
>
> > > - Show quoted text -

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to