Closed jacobussystems closed 1 year ago
Hi Jim !
I've updated the lib to be as close as the official API documentation as possible : https://docs.joinmastodon.org/entities/Status/#id
Ids are defined as strings - "cast from an integer but not guaranteed to be a number" So long are workings, without any guarantee it won't break any day.
Some other developers may create other servers with Mastodon-compatible APIs, maybe one of them will use string ids - so I think it's better to be as compatible as possible with every case
Many thanks Guillaume. I thought I should check with you, as it has some implications for my code, but all understood (and agreed)! I don't understand that text: "cast from an integer but not guaranteed to be a number" - maybe they simply meant that all previous server implementations used an integer?
Hi, Many thanks for this package! I'm just wondering why the Status Id has now changed to a string, rather than the previous long? Thanks, Jim