Sep
1

Hide the “Follow me” button

2009

Follow me

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

Only update

Aug
31

Released Ptwix 1.1 . Now It can search on twitter

2009

Release Notes – ptwix – Version 1.1

New Feature
- [PTWIX-3] – Implements the twitter advanced search
- [PTWIX-5] – User can hide the follow me button

Sub-task
- [PTWIX-4] – User can set a title for the search.

DOWNLOAD NOW THE 1.1 VERSION

Aug
30

Twitter search: Example queries and available operators

2009

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) Read the rest of this entry »

Aug
30

Twitter advanced search with ptwix

2009

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. Read the rest of this entry »

Aug
25

Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’

2009

Throw this exception when the return of request is null, probably an error page like 404 or other server errors.

The reasons of errors are the following

1) Sometime twitter go down

2) The url is incorrect (The username setting up on ptwix is wrong) Read the rest of this entry »

Aug
25

Disable curl

2009

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.

Jul
25

Released the 1.0.2 version of Ptwix

2009

Change log.
1.0.2 ( 25/Jul/09 | Release Notes)

Type: Bug
Id: PTWIX-1
Status: FIXED
Description: Vertical position of loading image is not centered when setting a particular height different from default

Type: Bug
Id: PTWIX-2
Status: FIXED
Description: When click on reload button the page come back to top

DOWNLOAD NOW THE 1.0.2 VERSION