How to create Facebook API for publishing post?

Hi all,

How to create API for publishing post to Facebook.

once i create post record it should publish the record into Facebook.

Please help me.


? That's Facebook's job, and they've already done it. Your role is

1) read the API documentation, and
2) interact with it from your code, possibly using an existing library
    ( which could be found using the search method of your choice )

Good luck,