Facebook PHP4 API Error

I've just spent an hour ripping out (what's left) of my hair after upgrading the php4 facebook client to retro fit in some profile_setFBML changes for Kerrang.

It turns out there is a slight bug in the current facebookapi_php4_restlib.php on line 274.

It seems the developers got lazy and just cut and pasted in some php5 code, thus giving me a nasty compiler error.

The solution is just to remove the "public" from around the data_getCookies and data_setCookie functions.

Entered: 2008-01-19 01:08:28

Rob's Other Blog Entries

See other blog entries for January 2008, or an index of all blog entries.