Schedule your future tweets.Β  This application schedule tweet and post on your behalf. This web application is made with Drupal. There are few application which already exist with this feature, but this must be the first one made with drupal πŸ˜‰ . This small application does only one thing schedule your future tweet and keep them in queue, cron runs every minute to check if there is any tweet in the queue. If yes it simply post in on your behalf when you are busy enjoying new year or birthday or taking nap :). Here is one screenshot to show how things work :
This is the page in action, this page where you schedule your post, as you can see Contains only two field one for your tweet and other one for the time in future. That’s it !!!

You can also view your “tweets in the queue” and “tweets which are already delivered”. Then there is a page called “Page 51” where resided everything else ;). I also don’t know why the page is called page 51 πŸ˜€ . And yes one more thing, it just took two days to build it and deploy , power of drupal πŸ™‚ .

So if you have any queries or feedback, please comment below (if its a postive feedback) or mail me (if its a negative one ) . hahahah πŸ˜€


Add a extra submit handler to the hook_form_alter

In my case i have to add a twitter account to the user profile, but by default it comes in a tab. So i have to add a field( for twitter handler) in the user profile so that on submit that twitter handler can be added to the user profile.
i created a custom function for submitting the form, this is mainly a overriding the default submit handler by just changing the function name.

function twitter_account_form_submit_custom($form, &$form_state) {
module_load_include('lib.php', 'twitter','twitter');
module_load_include('inc', 'twitter','twitter');
$name = ($form_state['profiles']['main']->field_twitter_handle['und'][0]['value']);
$twitter = new Twitter($name);
try {
$account = $twitter->users_show($name, FALSE);
} catch (TwitterException $e) {
form_set_error('screen_name', t('Request failed: @message.', array('@message' => $e->getMessage())));
$uid= $form_state['values']['uid'];
$result = db_select('twitter_account' , 't')
->condition('uid',$uid, '=')
->condition('uid', $uid, '=')
twitter_account_save($account, TRUE, user_load($form_state['values']['uid']));

Now i have to add submit handler to the hook_form_alter. i just need to add a extra submit handler the $form[#sumit][]= ' '; .
function hook_form_alter {
if($form_id == 'user_profile_form')
$form['#submit'][] = 'ekn_user_profile_form_submit';
$form['#submit'][] = 'twitter_account_form_submit_custom';

Blogging vs Microblogging

Please have a look at my archives , my last post is a year ago, when i created my Twitter account.when i first introduce to blog i was happy that now , i will be able to share my thoughts with the world. I started sharing the same way, a novice blogger do.And thought that slowly i’ll be a freaky blogger some day.But then comes our loving Twitter and nitesh starts microblogging. Twitter never make me feel that i am missing blogging, i have always found Twitter around to take my outburst :).Whatever, now sooner or later , you will find me bogging freakly πŸ™‚

All social sites & IM’s at one place :::: YOONO

Yoono is free software that allows you to connect and share with all your social networks and instant messaging services in one place. you can either use it on your desktop or as a add on on mozilla firefox. One can download this from above link.
Yoono is an easy to use sidebar for your browser that allows you to connect to all your social networks and instant messaging services – in one place. Get all your friend updates, update your own status, and easily share stuff with your friends.


* Connect to all your social networks and never miss another status update from friends or family. You’re connected wherever you are on the web.
* Update your status across all your social networks at the same time.
* All your IM services right in your browser sidebar to easily chat while your surf the web – no more logging on to multiple services.