improved facebook sharing using graph API

Now it first check for user permission and then allow user to publish
on wall.