Has anybody tried Twitter4j with Qaiku? http://twitter4j.org/
posted to #Qaiku-api 22.07.2010 (en)
Has anybody tried Twitter4j with Qaiku? http://twitter4j.org/
Ile posted to #Qaiku-api 22.07.2010 (en)
..won't work. Id's should be integers, not strings like in Qaiku's API.
Ile commented on posted to #Qaiku-api 22.07.2010 (en)
@bergie, we didn't have any solution for this, right?
eholmila commented on posted to #Qaiku-api 22.07.2010 (en)
@eholmila not outside of switching the API from using safe Midgard GUIDs to unsafe integers
bergie commented on posted to #Qaiku-api Helsinki 22.07.2010 (en)
If Qaiku API would use integers as id's:
I understand that current implementation is beautiful. I believe it helps to support for example Organisaatio Qaiku (you have several instances of system).
Still, could you think them as a separate services and have unique integer ID's for each "domain"? Would it be possible to have mapper between those ID's and still get enough performance out?
Ile commented on posted to #Qaiku-api 22.07.2010 (en)
@Ile we do have integers for each message, so this would be an one-liner fix in API. The question is, do we want to do it. I'll leave the decision to @tepheikk and @eholmila :-)
bergie commented on posted to #Qaiku-api Helsinki 22.07.2010 (en)
The GUIDs can be represented as (very large) integers in addition/instead of the current hex-encoding.
Of course the clients will probably choke and crash if you give them numbers in the 2^144 -range (hell, many did when twitter itself overran the 32bit unsigned int and that's many many magnitudes smaller....)
Edit: I'm also fairly sure PHP cannot handle so large numbers either so in practice this is a moot point...
rambo commented on posted to #Qaiku-api 22.07.2010 (en)
Would it be possible to support both ways? We would have to different api-urls, another would expose integers, other one GUIDs.
Ile commented on posted to #Qaiku-api 22.07.2010 (en)
@lle I was thinking of that too. then the integer-based URLs just need to be advertised as replication-unsafe.
rambo commented on posted to #Qaiku-api 22.07.2010 (en)
Copyright Rohea Oy 2010 | Mobile version | Feedback | API | Terms of Service | Applications and tools