Adding extra parameters to GET statuses/show/:id

php

#1

I want to know how can I add extra parameter to my code.

The problem is that the posts with cards didn’t appear in my json
So I guess I have to add &include_card_uri=true but I didn’t figure it out where to place it and how to show the card media image url in the json

I’m using TwitterAPIExchange.php
my index.php is

<?php
ini_set('display_errors', 1);
require_once('TwitterAPIExchange.php');

/** Set access tokens here - see: https://dev.twitter.com/apps/ **/
$settings = array(
    'oauth_access_token' => "xxx",
    'oauth_access_token_secret' => "xxx",
    'consumer_key' => "xxx",
    'consumer_secret' => "xxx"
);
/** Perform a GET request and echo the response **/
/** Note: Set the GET field BEFORE calling buildOauth(); **/
$url = 'https://api.twitter.com/1.1/statuses/show.json';
$_REQUEST['id'];
$getfield = "?id=".$_GET['id'];
$requestMethod = 'GET';
$twitter = new TwitterAPIExchange($settings);
echo $twitter->setGetfield($getfield)
             ->buildOauth($url, $requestMethod)
             ->performRequest();
?>

#2

That parameter is only valid for the Ads API - are you whitelisted?