python - Google plus api "Resource object has no attribute 'insert' " -



python - Google plus api "Resource object has no attribute 'insert' " -

following directions found on google developers here

when seek add together activity (a post) python error

"resource object has no attribute 'insert' "

but when here (at api docs) there's insert method under activities()

this problem code

result = service.activities().insert( userid=user_id, body={ 'object': { #'orginalcontent': content }, 'access': { 'items': [{ 'type': 'domain' }], 'domainrestricted': true } }).execute()

i handled authentication stuff before of course, code above taken google's illustration , have proper scope(s) included, can't life of me figure out problem...

anyone have experience this??

or able run google's illustration code? lot of help know

*also forgot mention in django view if makes difference

python google-api-python-client google-domain-api google-plus-domains

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -