Facebook Comments Box Plugin Includes Live Code for Google and Twitter Logins

The new version of the Comments Box social plugin for third-party websites that Facebook released last week only gives users the options to login with their Facebook or Yahoo! accounts. However, we’ve just learned that the plugin includes live code supporting logins for accounts from Google, Twitter, and other OpenID providers. This means it might be easy for Facebook to enable logins from additional providers if its relations with these companies improve.

Facebook apparently pulled the public options to use Twitter or Google credentials at the last minute. Facebook recently clashed with Google over data portability and whether users should be able to export email addresses of their Facebook friends to Gmail. Twitter released an app in June that allowed users to see which of their Facebook friends tweet, but a disagreement between the companies led Facebook to block this functionality.

The only legitimate alternative login option to Facebook is Yahoo, which recently began allowing visitors to its network of sites including Yahoo News and Flickr to register for Yahoo accounts or sign in using their Facebook credentials.

Yahoo’s inclusion in the Comments Box could be a repayment for this favor, a sign that Facebook doesn’t consider Yahoo a threat, or the result of it signing some terms or deal with Facebook. Those logged in to the plugin through Yahoo don’t display a profile picture or link back to their account, though, making their comments appear inferior to those from Facebook users.

Modifying the Comments Box

By adding a line of Javascript, Google, Twitter, and other login options can be enabled. Adding  MultiLoginPopup.setProvider('google.com'); initiates the Google OAuth flow, and document.getElementsByClassName(“submitButton”)[0].click() lets users comment from their Google accounts.

A similar code snippet  MultiLoginPopup.setProvider('twitter'); can be used to attempt a Twitter login. This relies on a call to www.facebook.com/connect/twitter_login.php , which is currently unaccessible, causing the authentication to fail. MySpace and other OpenID providers can be enabled by substituting  ’myspace’, ‘myopenid’ or ‘pip.verisignlabs’ for Twitter or Google.

Note that Facebook prohibits modification of the Like button and its other social plugins. Facebook told us that “to provide a consistent and easily identifiable experience across the web, social plugins may not be altered beyond options that are already documented.” Developers should know that they add this JavaScript at their own risk and could be punished.

To provide a consistent and easily identifiable experience across the web, social plugins may not be altered beyond options that are already documented.”

The fact that this live code was left in the plugin means Facebook may be looking optimistically towards its future relations with other web service giants. Legitimate support for these credentials would open commenting on third-party sites that have implemented the plugin to a wider audience, improving discussion.

The Comment Box’s lack of an anonymous login option discourages low quality comments and trolls, though it may also discourage valuable but controversial comments users might not want their friends to associate with them.

Allowing Google as a login option could permit slightly more anonymous commenting, as many users’ Google accounts aren’t as deeply connected to their friends. Allowing users to comment from a widely held account that is tied to their real identity, but not necessarily their entire social graph, could lead to more heated debate without opening the floodgates to abuse.

Facebook could but doesn’t currently provide a way to limit on a comment-by-comment basis the visibility to friends of comments syndicated from the plugin to a user’s news feed. In the absence of such privacy controls, there’s an increased need for an authenticated but disconnected commenting option.

[Thanks to Tom Waddington for the tip.]

Marketing with Facebook Insights

Mediabistro Course

Marketing with Facebook Insights

Starting October 2, use Facebook’s analytics tool track and optimize your marketing efforts! Taught by the group marketing manager of social media at Microsoft/BingAds, Geoffrey Colon will show you how to measure key performance indicators and make your data actionable. Register now!

 

Leave a Reply

5 Responses to “Facebook Comments Box Plugin Includes Live Code for Google and Twitter Logins”

  1. Hey Facebook, Your Code Is Showing (Comment Login From Google/Twitter/Etc) | Blogburger says:

    [...] dug up by Inside Facebook, a simple line of JavaScript can add back in the option for users to log-in with their Google and [...]

  2. Will Facebook Add Google And Twitter To The New Comments? says:

    [...] that Facebook will implement either service, even though they were interesting, as blogger Josh Constine first pointed them out [...]

  3. What You Need to Know About Facebook’s New Features | Springboard Public RelationsSpringboard Public Relations says:

    [...] continues to improve upon the user experience for both personal and business use and most recently updated its commenting platform and introduced real-time [...]

  4. Facebook Comments neue Funktionen und Login von Drittanbietern | Internetradierer.de | Social Media says:

    [...] Der US Blog Inside Facebook hat bereits live Code in den Facebook Comments entdeckt, die den Login über Google, Twitter und andere OpenID Provider ermöglichen. Der Code ist jedoch [...]

  5. Will Facebook Add Google And Twitter To The New Comments? - AllFacebook says:

    [...] Josh Constine revealed that there is currently active code within the new Facebook comments which can enable users to log [...]

Get the latest news in your inbox
interested in advertising with inside facebook?

Social Media Jobs
of the Day

Senior Web Developer

Kaufmann Mercantile
Brooklyn, NY

Director of Web and Online Services

University of California at Irvine
Irvine, CA

Web Producer / Designer

Purch
New York, NY

Marketing Graphic / Web Designer

Collectrium
New York, NY

Web Production Designer (Contrator)

Marvel Entertainment
New York, NY

Featured Company

Join leading companies like this one and recruit from the nation's top media job seekers on the Mediabistro Job Board. Every job post comes with our satisfaction guarantee. Learn More
 

Our Sponsors

Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc. call (212) 389-2000 or email us