4

Can i get a permanent access token for my facebook application , using user's credentials (email, password). As i have seen in many application like yahoo messenger ,windows live , nimbuzz for mobile and other, they just ask for username and password , and they got added in my apps, So pls tell me , how can i get it done.... i want to create a desktop application in which i will take users credentials and in my desktop application , i will take users action to get it done on his wall.... Pls help

Vijay
  • 563
  • 1
  • 6
  • 18
  • I believe asking for a user's Facebook credentials is against policy. Check with your attorney before proceeding any further with this app. – DMCS Jan 30 '12 at 00:36

1 Answers1

1

You need to ask for the offline_access extended permission, which provides you with an access token that is valid until the user either revokes your app or changes his/her password.

https://developers.facebook.com/docs/reference/api/permissions/

CoderMD666
  • 997
  • 1
  • 8
  • 16
  • thanx for reply, but i was asking that if i take users credentials on my desktop application (in java) can i get access token for that user only by credentials while not redirecting ..... – Vijay Jan 29 '12 at 20:13
  • 4
    offline_access is deprecated. – bkaid Jan 29 '12 at 21:50
  • @Vijay How would you achieve this? – muthu Jun 06 '13 at 08:35
  • this is what i want to achieve before but as i get to know in comments that offline_access is deprecated. so it is not possible directly. there may be other solutions to it available. – Vijay Jun 08 '13 at 17:23