API not taking into account username changes #6

Open
opened 2 years ago by houndvoyager · 0 comments

Whenever a user changes username, it won't be reflected in suchwow. Since it's using the username (at the time the meme is created) and therefore is a value that won't change when the user changes username.

Proposed solution:

Instead of using the username, the input for "submitter" should be the account UID, if that exists (which can then be resolved with a URL just like the "img" or "href" is).

General description:

To make it simple, when a user wants to see all the posts made by a user, he queries the following URL: https://suchwow.xyz/?submitter={insert username here}, which is taken from the JSON output (you can check it out here: https://suchwow.xyz/api/list)

-hound

Whenever a user changes username, it won't be reflected in suchwow. Since it's using the username (at the time the meme is created) and therefore is a value that won't change when the user changes username. Proposed solution: Instead of using the username, the input for "submitter" should be the account UID, if that exists (which can then be resolved with a URL just like the "img" or "href" is). General description: To make it simple, when a user wants to see all the posts made by a user, he queries the following URL: https://suchwow.xyz/?submitter={insert username here}, which is taken from the JSON output (you can check it out here: https://suchwow.xyz/api/list) -hound
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: lza_menace/suchwow#6
Loading…
There is no content yet.