Using self for member_id

34 views
Skip to first unread message

doug

unread,
Jun 7, 2011, 6:00:20 PM6/7/11
to Meetup API
One of the first questions that usually pops up when people start
using the Meetup API is

"How do I get my member_id?"

The go-to answer has always been to make a call to the /members [1]
method passing in the value of "self" with the "relation" request
parameter and then extracting the "id" from the first result in the
response and storing that for later use.

You can now skip the whole process of making that extra request and
just pass in the value of "self" for member_id for any query method
that accepts a member_id.

"self" will be evaluated to the currently authenticated member's id.

For example

http://www.meetup.com/meetup_api/console/?path=/2/events&member_id=self&page=4

This should save you that one extra call when you need it.

[1]: http://www.meetup.com/meetup_api/docs/members/#params

- Doug

Tobey Schollmeyer

unread,
Aug 2, 2011, 12:40:50 AM8/2/11
to meetu...@googlegroups.com
Hi - I have some how become a member of this group and I'm not sure
how...can someone tell me how to remove myself from the email list? I'm not
a member of a group on Meetup that would relate to this and I've checked
GoogleGroups and I don't see this group there, either. Any suggestions
would be appreciated! Thank you!
Tobey
Reply all
Reply to author
Forward
0 new messages