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
Post a Comment