Comments
-
ill just toggle a pending/complete status in and update_status.txt file during the webhook and then run a minute by minute cron job to check the update_status file for a pending statuses. God php is so mono-threadular why do i even bother.
-
how do u recommend multithreading in php? curl? exec?
-
Ok i had to set an exception in my cross-site request forgery middleware lol https://www.youtube.com/watch?v=nGXo061pibU&t=890s the webhook error messages in the app console is what save me! but it takes a couple of errors before it will log them unfortunately :/
-
Endpoints to use: - Initial sync: download to zip (then extract) - Thereafter syncs: - Check for changes trigger: Use a webhook - Check for changes: Use a cursor
-
Ok so how do i find out what changed? is it a file property? please dont tell me ur refering to the date modified property? unless that could work as i could say "if it has changed in the last five minutes after the webhook fired then download it"... Side note: Is there a statergy for this requirement or am i the only…
-
to further the quality of my question - I hope this helps: Q: describe the problem and what has been done so far to solve it A: the problem is im not sure what mechanism to use to determine changes to dropbox app folder, maybe webhooks?