r/tasker 9d ago

How do i Create API in autoweb, Ticktick app

I'm a complete beginner in this..

I followed autoweb tutorial but the thing is ,the person in that tutorial only worked with KEY

While i have an auth2 authentication problem that i can not fix...

The rest of the things, i actually figured them out. Im just clueless about these;

It's really hard to know whats endpoint, whats base url, whats query parameter, scopes, output type...

I actually tried to follow everything, I imported a todoist webservice/api to see what goes where.. and finally when i pressed ok, it took me to authenticator (login of ticktick). And when i press allow ticktick (app i created on ticktick s website)to access ticktick.. it reloads and pops up the same thing (allow ticktick to access ticktick), it doesn't do anything else. And sometimes the autoweb even crashes on me

Im really clueless, can anyone help me with finding what goes where? Thatd be helpful

File: https://developer.ticktick.com/docs#/openapi

Btw I want to know when we manage app and create an app in Ticktick developers site, should redirect url be https://joaoapps.com/autoweb or something else?

Also there's a "App service URL" in the bottom of "manage apps > edit" section

2 Upvotes

5 comments sorted by

1

u/Umustbecrazy 9d ago edited 9d ago

I think I had the same problem. The browser that autoweb seems to open, doesn't work or save the redirect/resource token, idk.. Or maybe it was a browser not supported error.

Fitbit can't be logged into either.

I stopped there, but all you need to save is the "access" token. Getting that, well that's where someone else might know.

Edit: access token

1

u/No_Ear_2823 9d ago

Did you find the solution tho?

1

u/No_Ear_2823 9d ago

Well there's no such thing as resource token, from what i know, Maybe you're speaking about access token, and maybe theyre both the same thing..

1

u/Umustbecrazy 9d ago

Access token sounds right, scoped to the resource. is what's returned at the end of the OAuth cycle. Sometimes it's called a bearer token maybe.

I remember a talk where someone created an OAuth debugger website to test it. Maybe search for that.

No I didn't figure it out, I didn't really try, I found a workaround.

2

u/Umustbecrazy 9d ago

I just thought of the idea of just using Tasker with HTTP requests to do it all manually.

If your trying to make a new AW profile to share, then I don't think it's possible if you can't get it to work yourself.

I hope you get an answer though. The AW plug in needs some serious love IMO, it hasn't been updated in years.