· 7 years ago · Sep 15, 2018, 09:56 AM
1https://api.foursquare.com/v2/checkins/add
2
3$foursquare = new FoursquareApi($client_key,$client_secret);
4$fie = array( 'oauth_token'=> $utoken
5,'venueId'=> "514f27f6e4b0010b66794e16", 'broadcast'=>"public","v"=>"20140201");
6$chc=$foursquare->checkin($fie);
7
8public function checkin($ps)
9{
10$al=http_build_query($ps);
11return $this->POST($this->checkurl,$al);
12}
13
14{"meta":{"code":200,"requestId":"5b9ccec64c1f670d94339b66"}