Hi @deth4uall,
I have downloaded the latest version of FB Ignited, and the previous problem is gone regarding execution that stops. I see there was a update 3 days ago that updated the base_facebook file, perhaps that fixed it? Or maybe I had a way older version?
Anyways,
It still does not work; When I call “fb_is_liked()”, I get the following error:
Fatal error: Uncaught FBIgnitedException: [0]: fb_is_liked() - exception caught: (#100) Page connection does not appear to be a valid ID thrown in /usr/wwws/users/promirzrwr/icmsdemo/application/libraries/Fb_ignited.php on line 387
Looking at that line, I see this:
384: try {
385: $request = $this->facebook->api("/{$this->userid}/likes/APP_ID");
386: } catch (FacebookApiException $e) {
387: throw new FBIgnitedException('fb_is_liked() - exception caught: ' . $e->getMessage(), $e, $this->globals['fb_logexcept']);
388: }The problem as far as I can tell is in line 385 though - APP_ID does not seem to be right. So, I changed it to this:
385: $request = $this->facebook->api("/{$this->userid}/likes/{$this->globals['fb_appid']}");I now get this output, including some errors:
Array
(
[data] => Array
(
)
)
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: libraries/Fb_ignited.php
Line Number: 390
Array
(
[message] => Welcome back, Kobus!
[liked] =>
)As you can see, it does not find any “Like” data for the app.
Am I doing something wrong, or is there indeed another problem? I mirrored the code in the Ignited download exactly in my code, and added the necessary config settings, but I am not getting any joy…
Regards,
Kobus