Simple Facebook integration

Hello everyone, I want to make something very simple with the Facebook JS SDK: The user would go to a picture’s page on my app, click on a button, then a pop-up would appear the user would login to Facebook and authorize the app then a message would be posted to his wall. I don’t want to make the user login in my app with Facebook, only want to post to his wall. Any suggestion on what to do?

Thanks!

You might just want to see what Facebook’s ‘like’ button does, but I don’t know how this is a Rails questions. Unless you use Rails to fill in the parameter for the like button’s message that Facebook then uses to fill in the user’s wall with…

Yes, but Facebook Like doesn’t do what I need. I really need to post to the user’s wall.

Any other suggestions?