Yii Framework Forum: Facebook Sdk Changes(2.x.x -> 3.0.x) - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Facebook Sdk Changes(2.x.x -> 3.0.x) Rate Topic: -----

#1 User is offline   nkhanna 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 27-January 13

Posted 07 February 2013 - 02:31 AM

earlier facebook login connect was working fine on my php website but when facebook updated its sdk,its not working..
it simply opens facebook.
so what changes has to be done to make it work?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,345
  • Joined: 17-January 09
  • Location:Russia

Posted 08 February 2013 - 05:55 AM

Have you updated PHP SDK itself?
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,339
  • Joined: 12-October 09
  • Location:Croatia

Posted 08 February 2013 - 07:59 AM

NOTE: moved to proper section (Extensions instead of Yii-powered applications)
Find more about me.... btw. Do you know your WAN IP?
0

#4 User is offline   nkhanna 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 27-January 13

Posted 09 February 2013 - 03:26 AM

yes. i updated php sdk.
updated sdk no longer uses getSession() method.Instead it uses getUser().
I am having pproblem there.
facebook->getUser() always returns value 0
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users