Bncapps has hit One year!
Today marks one whole year since Bncapps.com has launched. Throughout this time we gained 82 posts, not as much as I would have liked but I hope to try and get more up soon!
Today marks one whole year since Bncapps.com has launched. Throughout this time we gained 82 posts, not as much as I would have liked but I hope to try and get more up soon!
I needed to be able to create Twitter lists for my Tweet Large project. So, here is a method i made to do this. It is in PHP and requires the cURL library. Simply pass the new list name, as well as the username and password and the list will be created.
public function createList($listname='', $username='', $password=''){ if (!empty($listname) && !empty($username) && !empty($password)){ $url = 'http://api.twitter.com/1/'.$username.'/lists.xml'; $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, "$url"); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, "name=$listname"); curl_setopt($curl_handle, CURLOPT_USERPWD, $username.":".$password); $buffer = curl_exec($curl_handle); curl_close($curl_handle); } }
First of all, I am sorry for this being the only post within TWO months! Here is the story:
Over the past 2 months, and for the next little while I have been working on a project with a team. The site is Twitter based and its purpose is to give you free Twitter followers.
The front end is simple, complete the three steps: Login, choose a Tweet, and send. Each Tweet you send will score you 100 followers. You can do this up to 10 times. After this time, you can still Tweet to enter the lottery. Each Tweet gives you one entry into the lottery, you can join once per hour. There are 6 prizes given out daily, with the top prize being 500 followers!
The back end is not so simple looking as the front end. Since this is a programming site I will go into some detail of how the core works, but I can not provide any code examples.
When you request for your followers, you are added to a job quene. This script is load balanced and there are 3 servers that check the quene. If they see a new job to process, and the job is 5 minutes old it will take it and mark it as being in process. When the job runs, it will validate that you have the Tweet still on your Twitter page. If not, it will send you an @reply notifying you. (I will post up a guide on Tweeting through PHP real soon - I was sure I had already done so, but apparently not)
It would then cycle through our accounts and follow you, ensuring that you get the exact number of followers you deserve. If while following you our system detects any of our accounts as being inactive, we will credit everybody who that account followed. This way you are guaranteed the right number of followers, and wont suffer a loss.
Our servers also run a validation script to clean up the dead accounts from our database, this is run while there are no following jobs active. See Verifying Twitter Credentials In PHP.
Well thats all for now. So why dont you go ahead and Get Twitter followers.
Lockerz.com is a site where you can get free stuff, such as iPods, PS3's, cases, etc. After a day I can already cash out to get a free iPhone skin, costing 35 points. You gain 2 points for joining, and you get to play a game where u collect the falling points and that should gain you about 25. You can earn 2 a day easily by answering a simple question (such as "Where do you see yourself in 5 years?")
The site is invite only as it is in Beta, but if you would like to be invited, I am able to provide that.
Simply Contact Me and provide your email. I will send out the invite ASAP.