Need help in fetching contact group name

16 views
Skip to first unread message

xzenma feroz

unread,
May 16, 2009, 8:36:34 AM5/16/09
to Google Contacts API
Hi all,

I am beginner in Google Data API. Please help me fetching a Single
Contact Group Name. I read the Docs provided.

there i found this url
GET http://www.google.com/m8/feeds/groups/jo%40gmail.com/base/68f415478ba1aa69

but i am not sure how to send a GET request with the authentication
params like user name and password.
i am using java library.

Julian (Google)

unread,
May 18, 2009, 10:29:50 AM5/18/09
to Google Contacts API
Hi,

It is not possible to query a group by its title directly. To get a
group by title, you would need to iterate over the list of groups.

Then, you can get the user from a group using the Group Id as group
parameter, for example:
http://www.google.com/m8/feeds/contacts/user%40gmail.com/full/?group=http%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2Fgroups%2Fuser%40gmail.com%2Fbase%2F6

The documentation for the Java client library:
http://code.google.com/apis/contacts/docs/2.0/developers_guide_java.html

Cheers,
Julian

On May 16, 1:36 pm, xzenma feroz <raghuke...@gmail.com> wrote:
> Hi all,
>
> I am beginner in Google Data API. Please help me fetching a Single
> Contact Group Name. I read the Docs provided.
>
> there i found this url
> GEThttp://www.google.com/m8/feeds/groups/jo%40gmail.com/base/68f415478ba...

raghu

unread,
May 20, 2009, 3:29:10 AM5/20/09
to Google Contacts API
Hello,

I am sure that, we can retrieve a contact group by its id

this is the sample URL:-
http://www.google.com/m8/feeds/groups/jo%40gmail.com/base/68f415478ba1aa69

will give you this output:-
System Group : My Contacts


On May 18, 7:29 pm, "Julian (Google)" <j...@google.com> wrote:
> Hi,
>
> It is not possible to query a group by its title directly. To get a
> group by title, you would need to iterate over the list of groups.
>
> Then, you can get the user from a group using the Group Id as group
> parameter, for example:http://www.google.com/m8/feeds/contacts/user%40gmail.com/full/?group=...
Reply all
Reply to author
Forward
0 new messages