http://portablecontacts.net/draft-spec.html#anchor11
it does allow extra query parameters, so i could require clients to
pass in a user id or username as a query parameter, but i'd like to
stick to the standard as close as possible so clients don't have to
hard-code support for my provider. any thoughts?
http://profile-server/poco/username/
To get info for a particular user. We've got sub-URLs for different bits
of the heirarchy, such as everybody in a particular user's department:
http://profile-server/poco/username/department/
PoCo doesn't really define what these query structures look like, so we
went with our own ontology. We're using both OAuth2 and OpenID for auth
on this server, we still do have mappings for "@me" in cases where we
can look up the user ID. For directly-connected clients that use
2-legged OAuth2, we don't allow the "@me" queries.
-- Justin
--You received this message because you are subscribed to the Google Groups "PortableContacts" group.
To post to this group, send email to portablecontacts@googlegroups.com.
To unsubscribe from this group, send email to portablecontacts+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/portablecontacts?hl=en.
the context is that i'm implementing unofficial "bridge" poco
providers for big players like facebook and twitter, similar to the
bridge webfinger providers i put up a bit ago:
http://snarfed.org/2012-01-16_webfinger_for_facebook_and_twitter
in the first pass, i'm just making clients oauth with fb and twitter
directly, then give me their retrieved credentials, which i'll pass
through. fb supports "me" requests similar to poco, but at first it
looked like twitter didn't. i've since found the way in twitter,
though: /account/verify_credentials
so, all is well, back to hacking. thanks again. feel free to follow
along if you're bored!
https://github.com/snarfed/portablecontacts-unofficial
https://facebook-portablecontacts.appspot.com/
https://twitter-portablecontacts.appspot.com/
the last two endpoints are visible but not fully functional yet. they
will be soon though!
>> To post to this group, send email to portable...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> portablecontac...@googlegroups.com.