I'm using the Facebook API and the class produces this object.
object(User)#4 (5) {
["fbc_uid"]=>
string(9) "324234324"
["fbc_first_name"]=>
string(5) "James"
["fbc_last_name"]=>
string(5) "Proud"
["fbc_name"]=>
string(11) "James Proud"
["fbc_email"]=>
NULL
}
How do I extract the fbc_uid from this object, from outside the "User" Facebook class?
你有没有尝试过:
$userObj->fbc_uid
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.