I have tried something like this
In, twitter-tweets_shortcode.php
add_shortcode("TWTR", "twitter_tweet_shortcode");
function twitter_tweet_shortcode($atts) {
ob_start();
$twitterSettings = unserialize(get_option("ali_twitter_shortcode"));
$TwitterUserName = $atts;
$Theme = "light";
if (isset($twitterSettings[ 'Theme' ] ) ) {
$Theme = $twitterSettings[ 'Theme' ];
}
---rest of the code
in page used shortcode like this
[TWTR atts=Instagram]
which gave me tweet results with username @array. Since the output is array ?