social-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Social-discuss] How can I fetch the conversation ID for a given pos


From: Mikael Nordfeldth
Subject: Re: [Social-discuss] How can I fetch the conversation ID for a given post ID on a remote server?
Date: Sun, 6 Mar 2016 20:06:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0

On 2016-03-06 19:57, Michael Vogel wrote:
> I'm coding the OStatus protocol implementation for Friendica. I'm using
> the conversation ID to check for completeness and to fetch missing posts.
> 
> At statusnet there was this protocol entry:
> 
> <link rel="ostatus:conversation"
> href="https://server.tld/conversation/1364484"/>
> 
> Then with GNU Social I don't get the conversation ID anymore:
> 
> <link rel="ostatus:conversation"
> href="server.tld,2015-05-25:noticeId=6582609:objectType=thread:crc32=c284e84e"/>
> ostatusZEGiBJ:
> <ostatus:conversation>tag:server.tld,2015-05-25:noticeId=6582609:objectType=thread:crc32=c284e84e</ostatus:conversation>

That is the ID, i.e. the conversation's URI. So you should safely be
able to compare it with other servers' conversation URIs.

But perhaps you're also requesting an HTTP URL (or the possibility to do
xrd/webfinger lookup)? That's something we could probably fix
(especially as I guess the href should be discoverable).

-- 
Mikael Nordfeldth
https://blog.mmn-o.se/
XMPP/mail: address@hidden
OpenPGP Fingerprint: AE68 9813 0B7C FCE3 B2FA 727B C7CE 635B B52E

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]