@verius Thank you for investigation, could you for transparency and deeper analysis post the json file (in Activity Streams format) under discussion to this new ticket: https://github.com/andstatus/andstatus/issues/359 "Use Activity Streams API for GNU Social" - I created it for us in order to have a common place for discussion and stop going in circles with the same questions...
@verius Thank you, will try to use Atompub documentation but applying .json extension. And let you know. Regarding reference implementation I understand that this will be the first implementation :-) @mmn
@mmn The problem is that I cannot start having nether API documentation nor reference implementation / examples. Anothet time:
Do you know any implementation of this API that I could lookup in order to move from a zero point?! I need at least two pieces: authentication (client registration...) and making a request something like "statusnet/config".
@andstatus The full mentioned id should never be trusted from HTML in the first place, that is metadata accompanied with the post. More specifically <link rel="mentioned" ... />
Looking at the atom protocol and the existing PumpIO class in AndStatus it may be interesting to look at the native atom protocol. I'll do some experimentation over the weekend. If nothing else it'll be a good refresher for my Java skills. :)
@mmn I don't see anything like <link rel="mentioned" ... /> in the JSON file from a server. Maybe this is problem of the "Twitter compatible API" only? BTW about two months ago we already started discussion on ActivityStreams protocol in JSON format. Let's make another step forward! :-)
My latest posts to you on that subject (unanswered) are below:
@mmn Thank you for encouragement. Do you know any implementation of this API that I could lookup in order to move from a zero point?! I need at least two pieces: authentication (client registration...) and making a request something like "statusnet/config" -- andstatus@loadaverage.org URL: https://loadaverage.org/notice/7762601
@mmn AndStatus already supports ActivityStreams protocol in JSON format. Do you mean that I can switch to that protocol accessing GNU Social and forget about Twitter API problems? If yes, do you have any links with a list of API calls... ? Maybe any reference client implementation?! -- andstatus@loadaverage.org URL: https://loadaverage.org/notice/7705136
@verius In order to have a reliable system, we need a decision of GNU Social developers. Trying to hack each other is a waste of time... @maiyannah @lnxw48
@verius I would say that this is a deficiency of GNU Social and its "Twitter compatible API". Every instance can have its own user with the same username. This is why it is impossible to tell reliably to which domain "@username" refers. AndStatus assumes that if you refer to a person via @username then this user belongs to your domain...
Interested in exact logic, want to help? @maiyannah