Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About silvestro

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have the same issue, no FB Events displaying since the new Facebook API updates. However, I found a temporary workaround: Temporary Workaround to make Facebook-Events module work again Cons: unclear future support needs manual token generation every two months needs small change in module Pro: it works, at least for now 😅 This solution uses an extended custom User Access Token instead of the Access Token created by the module. Step 1 Go to https://developers.facebook.com/tools/explorer and choose the app you’ve created. Click on Get
  2. @abdus this was it - thank you so much!!! The pages were being created with the same url "evname" - therefore at the second time, at the check if it exists it skipped the rest. It's really entertaining how your mind is fixated on a cause for the problem that you don't think of the obvious Thank you for your other comments regarding cleaner code!
  3. Hello all, I thought quite some time about this, and maybe it might be my basic (mis-)understanding of php, but I still can't get over the following scenario: I'm trying to create multiple pages via code in a foreach loop, but after the save() function the loop seems to stop. <?php foreach ($events as $event) { $evName = str_replace(' ', '-', $event['name']); $evName = str_replace('#', '', $evName); $evName = preg_replace( "/\r|\n/", "", $evName ); $evName = strtolower($evName); $p = $pages->get("/events/$evName/"); if (!$p->id) { $p = new Page(); $
  4. Thanks for your reply, that works great!
  5. This may be a dumb question, but how do I get past events? With normal usage I just get the future events, but when I modify the module at the getEvents() function and set the $sinceDate to 0, I get all past events aswell. Am I missing an implemented solution intended by @justb3a?
  • Create New...