App reviews, troubleshooting, and recommendations
I need to run a cleanup function that uses the admin API at an uninstallation event in my app. I tried using the app/uninstalled webhook but the accessToken saved in my session storage gets invalidated when I get the payload in my webhook endpoint. Is there any way I can use the cleanup function for an uninstallation even and access the admin API ?
Sadly not. You can do some cleanup actions, but nothing involving API access, as your token is revoked once they uninstall (as you mentioned).
Best you can do is try not to leave a trace, and if you have cleanup tasks needed via API, direct users to click an in-app uninstall action first, or reinstall and click it before uninstalling again etc.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024