嗨,我使用Foursquare官方api
我的问题检入(使用api)现在不在此处显示Swarm,但现在在此处显示swarmapp检入
Github foursquare
API链接
https://api.foursquare.com/v2/checkins/add
checkin.php
$foursquare = new FoursquareApi($client_key,$client_secret);
$fie = array( 'oauth_token'=> $utoken
,'venueId'=> "514f27f6e4b0010b66794e16", 'broadcast'=>"public","v"=>"20140201");
$chc=$foursquare->checkin($fie);
Foursquareapi.php签入方法
public function checkin($ps)
{
$al=http_build_query($ps);
return $this->POST($this->checkurl,$al);
}
结果
{"meta":{"code":200,"requestId":"5b9ccec64c1f670d94339b66"}