tattvamasi
tattvamasi

Reputation: 825

Google Moments in google's own php library, are not working

I have struggled with google's php library, the latest version of which is available on their own website. While the simple google plus example they provide works fine (it's a basic login with GET features), there is no way to add a moment activity via app in php - at least not for me. Their own example isn't working (the example can be retrievd in the library: examples/moments/simple.php)

Someone provides an answer here but the button demo they provide isn't working either if I press (authorization is fine, posting produces no action.

Does anyone have a suggestion on how to change their own php file so to make it work? I tired removing all the code and resetting it to the basic action: at least I am not getting oauth or php errors, but the file produces no action. I understand that posting moments in php is not currently supported, but I have a web app and android implementation wouldn't work for me I think.

Upvotes: 1

Views: 385

Answers (1)

Silvano
Silvano

Reputation: 1005

At the moment you need to get the library from the trunk, you can find instructions here. This gist documents how to request permission and write activities.

The old moments api has been deprecated and those samples are for the old API, I'll remove them from the codebase as soon as possible. Thanks for raising this question!

Upvotes: 3

Related Questions