What API is used by Google+ Android app?

2019-05-11 00:44发布

There is a Google+ mobile application for Android. To receive all the information it must be using some API.

How I can retrieve this information from my phone and see from where this app is getting data? I'd love to access it myself and see how it works.

4条回答
混吃等死
2楼-- · 2019-05-11 00:58

The API hasn't been released yet. Heck, the product hasn't even been released yet. Thats like developing a video game for playstation 5.

查看更多
太酷不给撩
3楼-- · 2019-05-11 01:00

They haven't launched the API yet. If there is something you want to build on Google+, they encourage you to signup here: https://services.google.com/fb/forms/plusdevelopers/

查看更多
做自己的国王
4楼-- · 2019-05-11 01:09
We Are One
5楼-- · 2019-05-11 01:21

You are talking about "reverse engineering" a network protocol.

Full sniffing

This should, in theory, enable you to sniff any https or plain text connection.

Already available APIs

I would not try to hijack the connection. There is already a contacts API, it's called xmpp. You should be able to use the talk integration to pull your friend list.

Future APIs

You may also want to sign up for the upcoming API.

UPDATE

It appears that the Android client uses (at least partially) XMPP. The regular client requires an open XMPP connection and you can see a "RealTimeChat" in your logcat. It looks like the connection is encrypted because you get a "TLS required" message (the client seems to go through the XMPP connection states). I'm not sure if that's used for client based posts or just for server push. You can see the open connections with the help of "netstat". The connection goes away when google plus terminates.

I'd thus expect the API to be really open once released (or rev.eng).

UPDATE 2 (06. Jul. 2011)

Hangout is build on XMPP/MUC+JINGLE (muc == multiuser chat, jingle is roughly a SIP alternative on top of XMPP). And yes, they'll release the the details of it :-)

UPDATE 3 (06. Jul. 2011)

Multiple XMPP components for gtalk/gplus have been revealed by reading the JS code. It also emphasizes that they have build a great deal of features on XMPP.

查看更多
登录 后发表回答