fb automatic import workin or not?

Home Forums Calendar Products Event Aggregator fb automatic import workin or not?

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #807912
    socialist
    Participant

    hi,

    it seems that facebook auto import is not working. wp-cron.php is triggered every 15 minutes. automatic import is set to hourly and nothing happens. maybe you have another idea what can be a reason that nothing is imported automatically. i check forum, user primer and so on…

    thanks in advance for some help.

    #810341
    Brian
    Member

    Hi

    Sorry for the issue with Facebook Events not auto importing. I can help troubleshoot this with you.

    Have you tried importing a single event and see if that works?

    Do you know if any of the events are Age Restricted? The Facebook API does not enable us to import age restricted events.

    Can you provide the link to the Facebook Page you are trying to import events from and I can test it out?

    Let me know and we can go from there.

    Thanks

    #810388
    socialist
    Participant

    single manual importin is workin like expected.

    there is no age restriction in those events. there is not only one page from where i try to import. maybe you can explain in more detail how the cron is workin. i have no log issues on my root server and there is also no error given in wordpress. the events are recognized in the list automatically but they are not published (or drafted and so on).

    #810405
    Brian
    Member

    I understand you have more then one page could please provide at least one even in a private reply so I can see if I can duplicate the process.

    Thanks

    #810427
    socialist
    Participant

    This reply is private.

    #810443
    socialist
    Participant

    This reply is private.

    #810450
    socialist
    Participant

    This reply is private.

    #810483
    Brian
    Member

    Ok thanks, I will test this out and see what it does and also get back to you about what the cron triggers for this to work.

    #810489
    socialist
    Participant

    ok thanks

    #812346
    Brian
    Member

    Thanks for the information.

    When you go to Events->Import Facebook, do all the events from the Pages you are trying import show there? Do any have any checks in the boxes saying they were imported?

    In the Events->Settings->Facebook tab are the events set to publish?

    We did have an issue where the hourly setting did not import events, but the other ones did, but you said none worked for you, correct.

    Still looking into this issue and testing on my end too. I hope to have something for you soon too.

    #812425
    socialist
    Participant

    i tried the following (because since i have the fb importer this automatic never worked for me):

    some events were imported (checked) and some not. first i tried with on day interval and than with two times daily and so on… the wp-cron is triggered every 15 minutes (i check that via access log on server). the import settings are also set tu “publish”. manually everything works ok but i don’t want to login and click “import” every time.

    i’m also wondering that it seem working for everybody else. but also my server logs have no error inside and all execution limits in php were adjusted.

    thanks for information.

    #812436
    socialist
    Participant

    at the moment still events are unchecked whilst automatic is switched on.

    #812744
    Brian
    Member

    The Auto Importer is run through this file:

    \the-events-calendar-facebook-importer\the-events-calendar-facebook-importer.php

    About line 1140 is where we call this WordPress Function to schedule with the Cron wp_schedule_event

    Cron Disabled
    It sounds like you have cron disabled in your wp-config.php file, is that correct?

    Can you do a test and re-enable the cron and then see if Events Auto Import?

    There could be some issue with manually triggering the cron, why that would be I do not know yet.

    Let me know what you find out from that and we can go from there.

    #812960
    socialist
    Participant

    and yes i disabled cron via wp config and will enable it.

    #813194
    Brian
    Member

    I apologize that coding and my instructions were hard to follow. I am going to remove that coding and related posts as I do not want it followed by other people as it could create more problems then it solves.

    I came up with a new code that echos the cron into the console.

    Can you please add that to your functions.php and then I can see the array myself. Then I can let you know when to remove it.

    http://pastebin.com/qKu8tetg

    Does that work for you?

    Also let me know if any Events have imported with the Cron back on from WordPress.

    Thanks

Viewing 15 posts - 1 through 15 (of 21 total)
  • The topic ‘fb automatic import workin or not?’ is closed to new replies.