"GooglePlus" (Service Connection)

This service was officially discontinued by Google on April 2, 2019.

Connect your Google+ account to the Wolfram Language to analyze Google+ activities.

Connecting & Authenticating

ServiceConnect["GooglePlus"] creates a connection to the Google+ API. If a previously saved connection can be found, it will be used; otherwise, a new authentication request will be launched.

Requests

ServiceExecute["GooglePlus","request",params] sends a request to the Google+ API, using parameters params. The following give possible requests.

User Data

Requests:

"UserData" profile information for the specified user

Parameters:
  • "UserID"authenticated useruser ID
  • Requests:

    "ActivityList" list of activities in the user's stream

    "UserPosts content of posts on the user's stream

    "UserPostsTimeline timeline plot of content in the user's stream

    "UserPostsEventSeries event series of content in user's stream

    Parameters:
  • "UserID"authenticated useruser ID
    MaxItemsGoogle+ defaultlimit on the length of results
    "StartIndex"1starting position of results
  • Activity Data

    Requests:

    "ActivityData" information about the specified activity

    Parameters:
  • "ActivityID"(required)activity ID
  • Requests:

    "ActivityPlusOners" list of users who clicked the +1 button for the specified activity

    "ActivityResharers" users who reshared the specified activity

    Parameters:
  • "ActivityID"(required)activity ID
    MaxItemsGoogle+ defaultlimit on the length of results
    "StartIndex"1starting position of results
  • Circles

    Requests:

    "CircledUsers" users in the authenticated user's circles

    Parameters:
  • MaxItemsGoogle+ defaultlimit on the length of results
    "StartIndex"1starting position of results
  • Queries

    Requests:

    "ActivitySearch" activities matching the query

    "UserSearch" activities matching the query

    Parameters:
  • "Query"(required)user ID
    MaxItemsGoogle+ defaultlimit on the length of results
    "StartIndex"1starting position of results
  • Notes & Issues

    With WolframConnect, Google+ does not allow general posting of messages through its API.

    Examples

    Basic Examples  (1)

    Create a new connection by launching an authentication dialog:

    Get information about a user:

    Get a list of recent activity from a user's public stream:

    Show the content of the activities on a timeline: