The PhoneGap Facebook plugin works for mobile much the same way that Facebook Connect works on the browser. Instead of using the OAuth 2.0 pop up login window, it accesses the credentials of the user through the native Facebook app already on the phone. Since users are often always logged in to Facebook through their mobile devices, it bypasses the OAuth 2.0 validation entirely.
"We got working on a Facebook plugin because we're user experience advocates," said Dave Johnson, CTO at Nitobi in a press release. "The OAuth authentication workflow for a mobile app isn't ideal so we created the PhoneGap Facebook Connect plugin as a way to streamline that process and improve the experience for the end user."
Nitobi senior vice president for software and developer relations said that the PhoneGap community has an affinity for plugins and drove the Facebook Connect plugin project. The plugin is aimed at creating a better user experience but also to ease the headaches of developers looking for easy Facebook functionality in their apps.
The PhoneGap plugin can be found at GitHub here.
What do you think, development community? Is OAuth 2.0 really that difficult to deal with for mobile? Are you planning on using the PhoneGap plugin or is another extraneous item in your developer toolbox that you would prefer not to deal with? Let us know in the comments.