function statusesRetweet($id)
{
- $url = "http://api.twitter.com/1.1/statuses/retweet/$id.json";
+ $url = "https://api.twitter.com/1.1/statuses/retweet/$id.json";
$response = $this->oAuthPost($url);
$status = json_decode($response);
return $status;
function favoritesCreate($id)
{
- $url = "http://api.twitter.com/1.1/favorites/create.json";
+ $url = "https://api.twitter.com/1.1/favorites/create.json";
$params=array();
$params['id'] = $id;
$response = $this->oAuthPost($url, $params);
function favoritesDestroy($id)
{
- $url = "http://api.twitter.com/1.1/favorites/destroy.json";
+ $url = "https://api.twitter.com/1.1/favorites/destroy.json";
$params=array();
$params['id'] = $id;
$response = $this->oAuthPost($url,$params);
function statusesDestroy($id)
{
- $url = "http://api.twitter.com/1.1/statuses/destroy/$id.json";
+ $url = "https://api.twitter.com/1.1/statuses/destroy/$id.json";
$response = $this->oAuthPost($url);
$status = json_decode($response);
return $status;