Skip to content
blobaugh edited this page Dec 26, 2011 · 2 revisions

Meetup Photos

This object handles interaction with the photos grouping of Meetup API endpoints.

Please visit http://www.meetup.com/meetup_api/docs for more information about the photo endpoints

Methods

The following methods are provided for developer use

getPhotos( $Parameters )

Returns a listing of all member photos fitting the given parameters.

Parameters

The getPhotos() method takes as a parameter an associative array of values to pass to the Meetup API.

All possible parameters as well as response values are listed at http://www.meetup.com/meetup_api/docs/2/photos/

at least one of the following parameters is required

  • event_id
  • group_id
  • member_id
  • photo_album_id
  • photo_id
  • tagged

Example usage

$m = new MeetupPhotos();
$photos = $m->getPhotos( array( 'member_id' => $member_id));

print_r($photos);

getComments( $Parameters )

Returns a listing of all photo comments fitting the given parameters.

Parameters

The getComments() method takes as a parameter an associative array of values to pass to the Meetup API.

All possible parameters as well as response values are listed at http://www.meetup.com/meetup_api/docs/2/photo_comments/

at least one of the following parameters is required

  • photo_id

Example usage

$m = new MeetupPhotos();
$comments = $m->getComments( array( 'photo_id' => $photo_id));

print_r($comments);

getAlbums( $Parameters )

Returns a listing of all photo albums fitting the given parameters.

Parameters

The getAlbums() method takes as a parameter an associative array of values to pass to the Meetup API.

All possible parameters as well as response values are listed at http://www.meetup.com/meetup_api/docs/2/photo_comments/

at least one of the following parameters is required

  • event_id
  • group_id
  • photo_album_id

Example usage

$m = new MeetupPhotos();
$albums = $m->getAlbums( array( 'group_id' => '1708069'));

print_r($albums);

Development Needed

To conform to the full Meetup API spec the following changes are required:

  • Support POST
Clone this wiki locally