Customize the twitter timeline


Hello, I’m starting with twitter so please
help me. I have the following code from this site

<a class="twitter-timeline"
Tweets by @twitterdev

This puts a timeline of the user “twitterdev”
on my page. My user “twitterdev” should be able to hide some of his tweets.
So I need to add a button or anything to each of the tweets inside the timeline
that take the Id of the tweet so when the timeline loads again only show the
visible tweets.


A Twitter user timeline is managed by Twitter. You may choose to exclude replies from your user timeline widget but you cannot hide individual Tweets.


Ok, tanks a lot. Now I was trying to do it with
the TwitterAPIExchange but it return’s only a blank page and I don’t know why.
I have my developer account and all my access tokens and keys. Here it’s the
code I’m using, it’s anything wrong???

<?php require_once('TwitterAPIExchange.php'); $settings = array( 'oauth_access_token' =>" My ### ", 'oauth_access_token_secret' =>" My ### ", 'consumer_key' => " My ### ", 'consumer_secret' =>" My ### " ); $url = ""; $requestMethod = "GET"; $getfield = '?screen_name=RaidelTorres&count=20'; $twitter = new TwitterAPIExchange($settings); echo $twitter->setGetfield($getfield) ->buildOauth($url, $requestMethod) ->performRequest(); ?>


sorry, my bad, I only have to add CURLOPT_SSL_VERIFYPEER => false to the CURL options.


You may create a new Twitter user timeline widget from your Twitter settings page. The widget includes HTML markup enhanced by JavaScript once the page loads.