SAN FRANCISCO - MySpace.com is teaming up with Internet search leader Google Inc. in a campaign to extend MySpace's reach and counter the expansion of their common rival Facebook Inc.

The alliance, unveiled late Monday in Paris, builds upon MySpace's seven-month-old effort to make it easier for the 127 million worldwide users of its online hangout to connect with their social circles while they're at other Internet destinations.

MySpace is trying to pull it off by making its login system, called "MySpaceID," compatible with any Web site that wants to embrace it.

By working with a similar service offered by Google, MySpace is betting more sites will welcome its audience. Blogs and other small sites with limited technical help probably will find it easier to use Google's system, known as "Friend Connect," said Max Engel, who oversees MySpaceID.

The collaboration between News Corp.'s MySpace and Google represents their latest shot across Facebook's bow. MySpace and Google previously joined forces a year ago to promote a service, called "OpenSocial," that competes against Facebook's warehouse of online software programs.

Facebook also is peddling its own universal login service to create more ways for its roughly 130 million worldwide users to share their personal profiles and favorite applications wherever and whenever they want on the Web. The privately held company expanded "Facebook Connect" last week after seven months of testing.

By loosening their grip on the personal information stored on their owns sites, both MySpace and Facebook are vying to shape and steer even more social interaction than they already do.

In the process, they hope to become the command centers of their users' online activities. By extending their networks on to other sites, Facebook and MySpace also could emerge as more alluring marketing vehicles, particularly as they glean more information about the interests of individual users.

Google is keenly interested in tapping into the advertising potential of social networks, but the Mountain View-based company has had little success with its own online hangout, called Orkut.

MySpace already relies on Google to sell some of its ads, so the companies are natural allies.

Palo Alto-based Facebook, in contrast, has aligned itself with Microsoft, perhaps Google's biggest antagonist. Besides relying on Microsoft to sell some of its ads, Facebook also sold a 1.6 per cent stake to the software maker for US$240 million last year.

Facebook also has rankled Google by hiring some of its top employees. The defectors include Facebook's current chief operating officer, Sheryl Sandberg, who oversaw global online sales.