Anyone know if there is a new way in the new API to set the user? I’m getting the error, Call to undefined method Facebook::setUser(). I cant find anything on Google.
Anyone know if there is a new way in the new API to set
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re getting the “call to undefined method” error because the class doesn’t contain a
setUser()method.This method has been replaced by the new
getSessionmethod, which attempts to parse user data from thefbs_*cookie (for Facebook Connect implementations) or HTTP GET parameters (for Facebook Canvas applications).