https://m.facebook.com/upload.php
on the bottom you will get your secret facebook ID and paste it in the settings panel page named "Email"

so thats it about Facebook and now lets setup twitter posting
for this you got to visit the tweetymail

and Sign Up , after that you have to authorize the site to your twitter account

and finally you have to enter your default AI Assitant's Gmail ID

once the above is completed enter your AI Assitant's gmail ID in the Email Page and add tweetymail.com as the service.
Voila! you are done