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.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024