• Resolved bwilli33

    (@bwilli33)


    We have been trying to get this plugin to work without the 50 token limit and have read all the documentation on google api and the service account that would work around it. But I can’t seem to get it to work. Has anyone found some steps to make that work so we can use a google service account to by pass the 50 token limit.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @bwilli33,

    Hope you are keeping well.

    Please create an API credential for your site which will be exclusively used only for your site. As you can see here, there are limitations set by Google for the maximum number of requests a single API project can make in an hour/day. If its own credentials are created for each site, we can guarantee that you will not hit the request limits.

    Best Regards,
    Nebu John

    Thread Starter bwilli33

    (@bwilli33)

    API credential? do you mean a google service account? Thanks for the response.

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @bwilli33

    I hope you are doing good today.

    Here you will find a full guide for API Project
    https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#set-up-api-project

    Kind Regards,
    Kris

    Thread Starter bwilli33

    (@bwilli33)

    Yes and i have followed that guide and it talks about this

    “However, it is important to note that Google does have a hard limit of 50 “refresh tokens” per account. That means that you can connect up to 50 domains using the same account. So if you do have lots of sites, or a multisite with lots of domain-mapped subsites, you might indeed hit that limit, and random sites will start displaying “unknown error occurred” messages. See Refresh token expiration for more information on that limit.”

    and i looked at googles information on refresh tokens and it talks about service accounts not having that limitation. https://developers.google.com/identity/protocols/oauth2#expiration

    “There is currently a limit of 50 refresh tokens per Google Account per OAuth 2.0 client ID. If the limit is reached, creating a new refresh token automatically invalidates the oldest refresh token without warning. This limit does not apply to service accounts.”

    so i am trying to figure out how to make that work. theres no instructions anywhere that specifies how to relate this google service account with the API and Beehive Pro.

    • This reply was modified 3 years, 7 months ago by bwilli33.
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bwilli33

    I’ve pinged our plugin developer to verify this information for you.

    We will keep you posted once hearing back from the plugin team.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bwilli33

    I just noticed in your reply you said Beehive Pro.

    Since it is a Pro version, can you please create a thread on our Forum area for Pro members?

    https://wpmudev.com/get-support/

    On www.remarpro.com we only handle the free versions.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bwilli33

    Our developer confirmed.

    I am afraid the service account won’t work on the plugin only the regular account.

    Best Regards
    Patrick Freitas

    Thread Starter bwilli33

    (@bwilli33)

    ok so no point in posting this at the other location then? Thank you so much for looking into this.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bwilli33

    ok so no point in posting this at the other location then?

    You don’t need to open the thread in case of the reply answer the question, however for further reference or if you need any additional info since you are using the Pro version please open on our Pro members area.

    Best Regards
    Patrick Freitas

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Google API and 50 Limit’ is closed to new replies.