$page = @fopen($eventsUrl, 'r');
while (!feof($page)) { ... }
An example of the error I'm getting is
Warning: feof() expects parameter 1 to be resource, boolean given in /bla/bla.php on line 454
Any suggestions?
Thanks for the help.
Joe
--Joe
--
You received this message because you are subscribed to the Google
Groups "Meetup API" group.
To unsubscribe from this group, send email to
meetup-api+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/meetup-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "Meetup API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetup-api+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Thu, Jun 12, 2014 at 7:37 PM, Joe Lippeatt <ext...@gmail.com> wrote:
hi folks. I've been using the following PHP snip to retrieve meetup data/json, and today I noticed it has stopped working. The last time I tried accessing data from the API was about 2 or 3 days ago I think. This now happens on all of my custom tool pages.$page = @fopen($eventsUrl, 'r');
while (!feof($page)) { ... }
An example of the error I'm getting is
Warning: fopen(https://api.meetup.com/2/events?key=1234567890&sign=true&group_id=1483309&page=30&status=upcoming,past,proposed,suggested&order=time&desc=true) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /bla/bla.php on line 452
Warning: feof() expects parameter 1 to be resource, boolean given in /bla/bla.php on line 454
Any suggestions?
Thanks for the help.
Hi Joe,I don't seem to have an issue getting event information back for this group from the api console. Can you try and see if there isn't any information you are expecting but isn't being pulled back by trying the console on the site?
$page = @fopen($eventsUrl, 'r');
while (!feof($page)) { ... }
Thanks
Joe
Hi Doug,
Can you guys see if maybe my server's ip or key was blacklisted? Attempts to access data via meetup api is now being returned as "forbidden". This has affected all of my group's microsites and all tools we use that access the API.Warning: fopen(https://api.meetup.com/2/events?key=bla-bla-bla&sign=true&group_id=1483309&page=30&status=upcoming,past,proposed,suggested&order=time&desc=true) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /bla/bla/bla.php on line 454
Warning: feof() expects parameter 1 to be resource, boolean given in /home/content/e/x/t/ext237/html/_houstonphotowalks/functions_master.php on line 456
Warning: fgets() expects parameter 1 to be resource, boolean given in /home/content/e/x/t/ext237/html/_houstonphotowalks/functions_master.php on line 457
This is the code that results in the error:$page = @fopen($eventsUrl, 'r');
while (!feof($page)) { ... }Thanks
On Sun, Jun 15, 2014 at 12:10 PM, Joe Lippeatt <ext...@gmail.com> wrote:
Hi Doug,
Can you guys see if maybe my server's ip or key was blacklisted? Attempts to access data via meetup api is now being returned as "forbidden". This has affected all of my group's microsites and all tools we use that access the API.Warning: fopen(https://api.meetup.com/2/events?key=bla-bla-bla&sign=true&group_id=1483309&page=30&status=upcoming,past,proposed,suggested&order=time&desc=true) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /bla/bla/bla.php on line 454
Warning: feof() expects parameter 1 to be resource, boolean given in /home/content/e/x/t/ext237/html/_houstonphotowalks/functions_master.php on line 456
Warning: fgets() expects parameter 1 to be resource, boolean given in /home/content/e/x/t/ext237/html/_houstonphotowalks/functions_master.php on line 457
This is the code that results in the error:$page = @fopen($eventsUrl, 'r');
while (!feof($page)) { ... }Thanks
Thank's Joe. I'll have a closer look.