Fusion Table and Google Service Accounts

前端 未结 1 1352
悲哀的现实
悲哀的现实 2021-02-06 10:13

I am trying to use Google Service Accounts to access Fusion table from my AppENgine Java App. This code snippet is used to obtain OAuth access token:

 ArrayList&         


        
相关标签:
1条回答
  • 2021-02-06 10:48

    I'm not terribly familiar with Fusion Tables, but it is likely that you need to either:

    1) Grant permission to the service account (the "email address" is found in the admin console) to access the table. This would probably happen through The sample at https://developers.google.com/appengine/articles/prediction_service_accounts may be helpful as a starting point for this process.

    2) Log in a user who has access to the table (or whose data you're trying to access) and have them authorize access for the application using the three-legged OAuth flow. If you're accessing data that is owned by an end user (ex: joe@gmail.com), then you'll probably need to do this.

    Hope this helps.

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