Skip to content

Error running sample event code #2

@brianhanifin

Description

@brianhanifin

Hello, I want to use your library to extra the list of events in my meetup group. I can get the JSON response in the API console, and your library returns it (I proved it by displaying the output of print_r($response)). However, I am getting an error when trying to use your example array iteration code.

I used to be a web developer, but I used ASP mostly, and am generally rusty when it comes to coding so it might be something simple I overlooked. Do you have any thoughts why the sample code doesn't work? My code is on github for you to see, and I included the print_r() output in a gist link below.

_Error_
Warning: Invalid argument supplied for foreach() in pbm-meetup-events/import.php on line 20

_print_r($response) output_
https://gist.github.com/brianhanifin/db8eece1b454b06341b6

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