Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toot ID different than the one in URL for social interaction #8459

Closed
1 of 2 tasks
rugk opened this issue Aug 26, 2018 · 4 comments
Closed
1 of 2 tasks

Toot ID different than the one in URL for social interaction #8459

rugk opened this issue Aug 26, 2018 · 4 comments

Comments

@rugk
Copy link

rugk commented Aug 26, 2018

STR:

  1. Go to https://mastodon.social/@Gargron/100254678717223630.
  2. Click on @Vale@ganbara.nai reply "do it" on one interaction button.

What happens:
A new popup happens. It has the URL https://mastodon.social/interact/100254680557068529.
AFAIK the URL has the toot ID in there, i.e. the URl says the toot ID is: 100254680557068529.

Now hover over the "date field" (either in this "remote interact" form or the original site) and you get this URL: https://pawoo.net/@valerauko/100254680484038566.

It also has the toot ID, but this time, it's different. So to compare the IDs:

100254680557068529 - URL in remote interact
100254680484038566 - actual toot ID

When you submit the form I get to https://mastodon.social/web/statuses/100254680557068529, i.e. the "correct" toot URL.

Checking this for some other toots, I also get different IDs. But only sometimes, not always. That's strange.

What should happen: As always, toot ID should be the same.


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on a tagged release and not on master (If you're a user, don't worry about this). (no, on mastodon.social)
@rugk rugk changed the title Toot ID different than URL for social interaction Toot ID different than the one in URL for social interaction Aug 26, 2018
@Gargron
Copy link
Member

Gargron commented Aug 26, 2018

Wait are you comparing toot IDs on different servers? They're always going to be different.

@nightpool
Copy link
Member

the database id for individual statuses varies from server to server.

@rugk
Copy link
Author

rugk commented Aug 26, 2018

Thansks FYI, but…
No, actually it's the same server. You can also, more easily, see it here (same toot, compare the ID in the hovered links):
compareids

Or is there some kind of "external toot ID" and "internal toot ID"? Does this concept exist?

@rugk
Copy link
Author

rugk commented Aug 26, 2018

Ah, forget it, the toot I am hovering over actually is a remote toot. Uuups, forgot that… (one sometimes just forgets that it is decentralized 😉)

So it seems, i cannot rely on the information in the URL, at all. It's the local toot ID that may be different to the one, I want.

@rugk rugk closed this as completed Aug 26, 2018
rugk added a commit to rugk/mastodon-simplified-federation that referenced this issue Aug 26, 2018
It tried to compare the local instance toot ID to the remote one, which is never going to match if the toot is a remote toot.

Ref mastodon/mastodon#8459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants