Hi,
Bit of an odd one, as the site was working fine.
I have a cron job which I can see is running, but the tweets are not being pulled down. I looked at then using the url callback to test as well and it states "Incorrect secret", so something is going wrong.
I am running runway, so, in my config.php I added:
- define('PERCH_SCHEDULE_SECRET', 'thisismysecret');
and the CRON job is running:
- php /home/mysite/public_html/admin/core/scheduled/run.php thisismysecret
The twitter app in the admin has the correct Consumer Key and Consumer Secret from the Twitter App I created, so I am at a bit of a loss as to why it is now failing.
I have Forced Reauthentication a few times and this goes through fine and I have tried changing the CRON job to:
- php /home/mysite/public_html/admin/core/scheduled/run.php secret=thisismysecret
but to no avail. If I press the 'Get Tweets' button from the admin, it downloads the latest tweets, so something is obviously off with the CRON job and the reading thereof.
I am also presuming that the secret I use for the CRON job should be different to the supplied Twitter Consumer secret. Too be fair, I tried changing it to that and it still fails.
Not sure what else to try, it's baffling.
Any suggestions ? I think I read somewhere about potentially deleting the perch2_scheduled_tasks table, but I would rather hold fire on that until I know that this is an ok thing to do.
Thanks,
Andy