Facebook Events Times Out

Home Forums Calendar Products Event Aggregator Facebook Events Times Out

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #955415
    liamrabbitt
    Participant

    I have a lot of pages to request events from, but the system can’t handle that amount and i get a time out. I have increased the max_execution_time to the max 120 which is high. But this has not solved the problem.
    Any ideas?
    Maybe the script could be changed to request the information in batches of 20 or what ever the max number we can get before it timeout ?

    The box for Organization and page usernames / IDs to fetch events from could be limited to that amount and you add another box if you need more, this box will only send its request 5 min after the other has been completed and so on so we can add as many pages as we like.

    Any Ideas ?

    #955428
    Barry
    Member

    Hi liamrabbitt,

    It’s definitely possible that we could revise things here. I’d like to build a better picture of the scope of the problem and am curious about two things:

    • Are you finding automatic (“background”) importing of events is failing?
    • How many pages are you importing from in total? How many upcoming events on average to each contain (this can be approximate, of course)

    Thanks!

    #955481
    liamrabbitt
    Participant

    This reply is private.

    #955513
    Barry
    Member

    Thanks, that gives us a better idea of what you’re trying to achieve here.

    In the short term, our next release should see a set of improvements (though they may not in themselves be sufficient to accommodate your goals), looking further ahead I’ll certainly log an issue to investigate better ways of handling this.

    #955584
    liamrabbitt
    Participant

    This reply is private.

    #955827
    Barry
    Member

    Well, I think that varies according to the hosting environment (things like execution and socket timeouts are configurable, though some hosts may place an upper limit on them or indeed may not allow them to be modified at all).

    In the short term all I can suggest is working with your hosting provider to eliminate any such restrictions – though, again, it may be that’s not practical or that – even if the limits are raised – you may find 1,300 FB pages is simply too high to be handled unless those caps are removed altogether.

    On our end the challenge is whether to re-engineer the plugin to support something like the number of IDs you wish to deal with or, perhaps, to start setting expectations about the number of pages that can be imported within a ‘typical’ hosting setup.

    Since we’re still giving further consideration to this there unfortunately isn’t much more I can tell you, but perhaps by working with your host you can get some kind of short term relief?

    #959620
    Barry
    Member

    Hi!

    It’s been a while so I’m going to go ahead and close this topic.

    • Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
    • Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context

    Thanks!

    #1184571
    Geoff
    Member

    Hey there,

    Great news! After a lot of work and effort, we were able to make release what we believe is a great solution for the issue of events not importing from Facebook due to timeout limitations.

    Since this thread was opened, not only has Facebook updated it API, but we have developed a new product called Event Aggregator that is fully compatible with it and overcomes the importing issues that Facebook Events encountered. In particular, Event Aggregator is not a plugin, but a service that is already available in The Events Calendar 4.3 and, when purchasing a license to activate it, it uses the power of our servers here at Modern Tribe to handle much larger imports than Facebook Events ever could running on a typical shared server.

    Event Aggregator is now available and you should even have a complimentary license for it if you already have an active Facebook Events license to help you make the switch.

    In addition, we’ve put together a handy guide that outlines best practices for importing events using Event Aggregator to help get the most out of your imports:

    https://theeventscalendar.com/knowledgebase/plugin/event-aggregator/

    Thanks so much for your patience while we worked on this. We know it has been a long-running item everyone’s wishlist and we couldn’t be more excited to finally get it into your hands.

    Cheers,
    Geoff

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Facebook Events Times Out’ is closed to new replies.