I successfully adapt it for dida365!
MrSnake0208 opened this issue · comments
Snake commented
The reason why changing ticktick.com to dida365.com directly does not work for the TickTick China version is that dida365 requires headers and there are authentication issues. It is necessary to use base64 encryption for client id and secret. After consulting with official personnel, I made adjustments to the code:
- Added dida365 options for users to decide whether or not to use dida365.
- Modified the way of obtaining access token from dida365.
As a beginner, the formatting may be a bit messy, so you can format it uniformly after testing.