Got 2 (Wordpress) sites on 2 different servers (with 2 different hosting partners)
I used to be able to call the 4sq API on BOTH servers without using the OAuth method with no issues whatsoever.
Last week , on one server, I got an error (unspecified) and the 4sq routine I had written in PHP stopped working.
PHP code used :
$response = wp_remote_get( 'https://api.foursquare.com/v2/venues/<venueid>?client_id=<client-id>&client_secret=<client-secret>&v=20120408' );
if( is_wp_error( $response ) ) {
echo 'Something went wrong!';
} else {
echo 'Response:<pre>';
print_r( $response );
echo '</pre>';
}
Has to be something that Foursquare is suddenly blocking my site (the one that is not working anymore obviously) to make calls to it's API for some reason.
It cannot be an overload , cause my site has under a hundered visitors A DAY (for now).
Already sent an email to api[at]foursquare.com but did not get a response from them (also not through twitter)
Any ideas ? Any easy (not OAUTH) PHP routines I can use to get a more significant Error message back from 4sq , so I can see what's wrong ?
Any way to contact Foursquare so they reply to my request ?
thanx