The apiKey is used in conjunction with designated referrers, which you must declare in the APIs Console. If the key is sent from an unauthorized referrer, it will not work. You should make your accepted referrer list as limited as possible to ensure that others do not use your apiKey for their own requests.
I am running your code but it is not working i have replaced your client id and api key with my api key and client id nothing happens when i am clicking login button .. Please help
I think I did everything as described (Client id, api key, example html with js code) but it does not work. Javascript console says: "Unable to post message to file://. Recipient has origin null. core:rpc:shindig.random:shindig.sha1.js:814"
I am so new in this that I do not know where to start to fix this. Any suggestion what went wrong and how to fix it?
hey i need help from you . how to set sendNotifications parameter by using js libraris.to send notifications to atndees. for know i can insert events but notification could not sent to atendees
Hi Dan, I am trying to access the calendar from a phonegap app so I got a client id for installed applications. I noticed that when the app tries to authenticate the user through oauth2.0, it assigns as origin the "file://" which is not the case. How can I fix this? Thank you very much in advance!
I have exact problem as 'Tomino" stated. I provided valid value for clientId and apiKey. I got error 'Unable to post message to file://. Recipient has origin null. core:rpc:shindig.random:shindig.sha1.js:970".
14 comments :
Pls, Include Ability to Upload Files directly from Javascript to Google Docs.
Is it safe to leave apiKey in JS?
I need to turn on my cookies
The apiKey is used in conjunction with designated referrers, which you must declare in the APIs Console. If the key is sent from an unauthorized referrer, it will not work. You should make your accepted referrer list as limited as possible to ensure that others do not use your apiKey for their own requests.
how can you use this in google sites?
I am running your code but it is not working i have replaced your client id and api key with my api key and client id nothing happens when i am clicking login button .. Please help
I think I did everything as described (Client id, api key, example html with js code) but it does not work. Javascript console says: "Unable to post message to file://. Recipient has origin null.
core:rpc:shindig.random:shindig.sha1.js:814"
I am so new in this that I do not know where to start to fix this. Any suggestion what went wrong and how to fix it?
hey i need help from you . how to set sendNotifications parameter by using js libraris.to send notifications to atndees. for know i can insert events but notification could not sent to atendees
Hi Dan,
I am trying to access the calendar from a phonegap app so I got a client id for installed applications. I noticed that when the app tries to authenticate the user through oauth2.0, it assigns as origin the "file://" which is not the case. How can I fix this? Thank you very much in advance!
Hi Dan,
I'm using a bunch of this code verbatim in an app I'm writing. Is there any particular way you would like to be cited or a licence I should refer to?
Hi,
do you have an example for installed applications with refresh token ?
it's difficult to find javascript examples,
thanks,
jl
Thank you for your post, it helped me a lot!
Thanks a lot man! You made my day :-)
I have exact problem as 'Tomino" stated. I provided valid value for clientId and apiKey. I got error 'Unable to post message to file://. Recipient has origin null. core:rpc:shindig.random:shindig.sha1.js:970".
Do I missing anything? Thanks for help.
Post a Comment