[Follow Up] Birthday Coding Fun... I Give You Birthday Ninja...
Facebook, is now one place, I was guessing to get most of my birthday wishes. But yet again, it is impossible for me to be there for everyone at the same time when I was partying with my friends.
The solution: Birthday Ninja!
Basically a script that can go through my feeds and reply to my friends, while of course I am not there on facebook. This is rather a very simple code and you can go through the source here.
Current Objectives it achieves:
- Checks thought my facebook feed and gets me all the posts on my wall by all the users.
- Likes the post, replies a message on the post. Shuffles through a pool of replies
- On repeat posts, it posts a notification on the post.
- Generates an analytic report in csv format logging each action it took
- Keeps my well wishers happy... :P
Future Perspective (next birthday target.. :P):
- It still has a lot of scope, like analyzing the sentiments of the poster. It could be great as we can respond in a similar sentiment.
- It sadly doesn't qualify to understand if the message was actually about birthday, it was just a bluff against posters.
- Ninja is still not able to respond to comments received after the reply. Should be done
- It just understands post type = status, what if someone posts a photo?
- Priority wise reply. A simple idea is to check for mutual friends. As an example, I share the highest number of mutual friends with my girl friend or best friend. A variable affection sentiment can be added to each reply.
Well I had a lot of hiccups running this, because of poor connectivity and power outages. So things need to be fixed in that case as well. If I could run this on AWS maybe? Anyways...
I loved it, it was geekiest birthday ever for me... :P:P:P
However, please feel free to share your ideas and help me make this awesome.
Cheers!
Happy Birthday to me again!