Skip to content

Getting null response from Rsvps, but proper json output when I use the array #2

@4clicknetworking

Description

@4clicknetworking

I've been using the older of the 2 Meetup API client libraries, but today I tried out this one.

Am I configuring something wrong, or is there actually an issue with the client library (it's sort of like jazras' issue)?

When I use the following, I get a null response:

require_once( Meetup.php');
$m = new MeetupRsvps();
$rsvps = $m->getRsvps( array( 'event_id' => $event_id ) );
krumo($rsvps);

However, when I use the following, I get the expected response:

$json = json_decode(file_get_contents($url));
krumo($json);

The library is building the request url alright because I'm getting the proper output, but calling the Rsvp method as described in the documentation is not working.

I'm wondering if I'm just missing something obvious that would make it work.

Cheers,

Ed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions