Facebook APIs require the session key. When I need such a key, I go to this link, click on "Get Access Token", select the required authentications from the lists, and use the generated session key in my program. It expires after a day or so, in which case I re-generate one.
Hope that helps.
Regards,
Salil