Thank you all for the help, but I'm trying to figure out why does this error always come up:
Quote:
|
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/5/d158572600/htdocs/fb/broadcast/fbapi_php4_restlib.php on line 485
|
It seems that there's nothingw rong in line 485 of that document:
PHP Code:
public function data_setUserPreference($pref_id, $value) {
return $this->call_method
('fb.data.setUserPreference',
array('pref_id' => $pref_id,
'value' => $value));
}
But I'm just wondering why does that error always showed up, this time I'm using the PHP4 API, but it still pop up an error for some reason, btw, I didn't write this API.. the website that I want to create the application for is the one who wrote this...