![]()
If you like to hide the “Follow me” button in the top ptwix box you can call this method on the ptwix instance.
hideFollowMe()
This is the result
![]()
![]()
If you like to hide the “Follow me” button in the top ptwix box you can call this method on the ptwix instance.
hideFollowMe()
This is the result
![]()
The ptwix search method accept string in this format
“q=bye&rpp=20″
The rpp parameter is the number of result to show.
There are some instructions about search queries (Come directly from twitter search API method page) (more…)
From version 1.1 ptwix can show results of a twitter search.
Make search is really simple:
Setting the value PtwiX::$SEARCH at the “timeline type” parameter in the constructor.
$PtwiX=new PtwiX('firs','user','pass','http://example.com/ptwix/','/var/www/example/ptwix/cache/',PtwiX::$SEARCH,'silver-red');
Now you can call the setSearchString method and pass it the string that you want to search. (more…)
For disable the curl request mode you can setting to false the useCurl property in this way
$myptwixInstance->useCurl(false);
Remember that with curl disabled ptwix can’t show the friend timeline but only user timeline and search result. You also disable curl in as/PtwiX_reader.php file.