4 | | |
5 | | Another thing I probably have discovered, not sure if this is an issue as well. When I login to my dashboard, I can see meetup announcements in Mumbai which is far away from my location (about 2000 Km), but when I run the endpoint in browser with my location (Kolkata, [https://api.wordpress.org/events/1.0/?location=kolkata]) no result is returned. |
6 | | |
7 | | If Kolkata (this is the timezone set in my application) does not return any result then why `$response = wp_remote_get( $api_url, $request_args );` is returning meetup events from Mumbai in dashboard but not when I run the endpoint separately in the browser? The only possibility could be if the code looks for country wide meetups if none found in supplied location. Even then when I run the endpoint, I would expect the same behavior. |
8 | | |
9 | | I am further inspecting the code and trying to figure this out. |