I have a fusion table that I wish to do inserts and updates to that I have created through Google Docs.
I am trying to use OAUTH to access this table and do inserts and updates both through a WebApp and Java Client
I can do a select to this table with my access token (that I receive through passing my client secret and refresh token credentials) no problem programatically.
String sql = java.net.URLEncoder.encode("SELECT * FROM " + tableId, "ISO-8859-1");
uri = "https://www.google.com/fusiontables/api/query?access_token=" + token + "&sql=" + sql;
The above returns me my rows from the table
However, when I try to do an insert I GET THE MESSAGE below
Server returned HTTP response code: 403 for URL: https://www.google.com/fusiontables/api/query?access_token.....
The insert will only work if I first create tables from within the Google API programatically. How can I make sure that I can access the same tables. I create though New Tables Option Under "Google Docs" I see where there is a share button, but I don't know the steps to open a table up for inserts, updates that I can execute an insert without getting a 403 response from the Google server programmatically. Am I not the owner? How do I register my API credentials with the table for insert/update?