Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

GooglePlus ShareCount-Provider - body ends with "s" #7

Description

@nsd0slohmann

The request retrieves an error because the body end with an "s".

With the following body it works (only delete the "s").

final String body = "[{\n" + "    \"method\":\"pos.plusones.get\",\n" + "    \"id\":\"p\",\n" + "    \"params\":{\n"
                + "        \"nolog\":true,\n" + "        \"id\":\"" + decodedUrl + "\",\n" + "        \"source\":\"widget\",\n"
                + "        \"userId\":\"@viewer\",\n" + "        \"groupId\":\"@self\"\n" + "        },\n"
                + "    \"jsonrpc\":\"2.0\",\n" + "    \"key\":\"p\",\n" + "    \"apiVersion\":\"v1\"\n" + "}]";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions