渋谷109周辺(0.2km)のtweetを取得する

すごいね、テクノロジー

<?php

require 'TwistOAuth/build/TwistOAuth.phar';

$consumer_key = '';
$consumer_secret = '';
$access_token = '';
$access_token_secret = '';

$connection = new TwistOAuth($consumer_key, $consumer_secret, $access_token, $access_token_secret);


$tweets_params = &#91;'q' => 'ラクオリア' ,'count' => '10'];
$tweets = $connection->get('search/tweets', $tweets_params)->statuses;

/* var_dump($tweets);  */

$hash_params =['q' => '#6758', 'count' => '10', 'lang'=>'ja'];
$hash = $connection->get('search/tweets', $tweets_params)->statuses;

/* var_dump($hash); */

$users_params = ['screen_name' => '*'];
$users = $connection->get('users/show', $users_params);

/* var_dump($hash); */


$geo_params = ['geocode' => '35.658034,139.701636,0.2km' ,'count' => '10'];
$geo = $connection->get('search/tweets', $geo_params)->statuses;

var_dump($geo);