views:

105

answers:

1

I want php or asp.net code for fetching facebook's inbox messages and contacts into our application when the application is added into facebook

A: 

For the contacts, use friends_get

For messages, use getThreadsInFolder

Use the official PHP library to wrap it all together (the linked page has an example on getting friends list)

Note that some methods need extended permissions.

Piskvor