401 Unauthorized access when posting Google+ Moments with PHP Client

后端 未结 1 731
花落未央
花落未央 2020-12-22 08:00

I\'m trying to post a moment in google+ using the API, creating a simple example, but I get a 401 error. I\'m following Silvano Luciani steps from https://plus.google.com/+S

1条回答
  •  囚心锁ツ
    2020-12-22 08:12

    You need to use the version of the library that you can find in trunk for the code shown in the gist to work.

    You shouldn't use Google_PlusMomentsService, because it has been deprecated (and it's removed from trunk). It's strange that Google_PlusService doesn't exist, it's here.

    0 讨论(0)
提交回复
热议问题