Facebook_Auth
facebook PHP API
This code can be used to build fb apps.
/me will fetch ur details like profile info
with this code and an app you can post on ur newsfeeds and much more
refer facebook developers for more infomnation regarding PHP SDK