I have simple situation: I know both (user) UID and password and I want to create API requests, such as https://graph.facebook.com/220439?access_token=...
.
What I don't want is to redirect user to Facebook page and prompt him to give me permission - since I know the credentials. Is there any way to obtain access_token directly? Or at least make the first OAuth request just once, receive permanent request token and then only switch it for regular access token when making API calls?
And btw, I use PHP SDK.