Well, my initial estimates were wrong. I thought I could retweet the posts and Twitter would give me accurate results. The problem is with twitter results. They are giving me wrong and irrelevant results.
Also, when I ask Twitter to only send me “positive” tweets, it sometimes does not mark most of the positive tweets as “positive”, in fact they are not marked at all. So there are the “positive” tweets, “negative” tweets, “questions” and “unknown” (or “unrated”) tweets. A quick look at these tweets and I can see many of them as good ones that should have been retweeted but they were not.
To get over this situation, I need to have an admin panel where I can see statistics and possibly “approve” the negative / unrated tweets.
Having previous experience working in Zend Framework, CakePHP and CodeIgniter, I would prefer to build it inCode Igniter. I will keep this page updated with more info.
Yes, I know what I just said that … its true because my new project HashPakistan is using Twitter Search API to get all posts with hashtag #Pakistan and last night twitter gave it results containing #ashes (and has nothing to do with Pakistan).
Today I had this need to get a list of WHM Accounts using one of its APIs. I have never used it before but it was really simple to use. It returns an xml file that you can manipulate using your prefered language and store it in database for reporting etc.
Here is what you need to do, connect to your server using SSH and run the following command
Replace your-server-ip with your WHM’s ip and myuser/mypass with the actual WHM/CPanel password. The resultant xml file will be saved as “listaccts.xml” in the same directory as you ran the command in.
If you feel a bit insecure running these command over SSH then visit this page on your browser and save it as an xml file.
(again, substitute your-server-ip with the actual WHM ip address / FQDN)