I have seen discussion in internet about problems (or bugs in Google Drive SDK ) with resumable uploading to google Drive
https://developers.google.com/drive/web/manage-uploads#resumable
and the problem with access_token when it expires after one hour ..
Is there a possibility now ( I understood there should be ) to refresh access token for this ongoing upload ?
I did the test implementation for this but it did not work, when I updated the refreshed access token?
but is this now bug in my code or google drive side ?
If you abandon the library, and simply call the REST API directly, you can implement your own 401 error handling.
edit; see comments below which suggest that the problem is a bug which cannot be circumvented
Related
Recently I have been trying to re-boot my app. This includes adding google play services to my app.
I setup a google cloud platform account and then linked it with the developer console for my app.
Next I setup the OAuth consent screen. After completing everything it asked me to verify my website and domain; I completed this step with the google search API.
Despite all of these efforts I still got the error, Pending developer action.
Here is my verified domain (blurred out for obvious reasons):
After observing the documentation a little bit more, it tells me that I must continue/reply to the email thread with their Trust and Safety team, but I have not received any emails from them with my developer email -
Thanks in advance
-James
I have actually found the solution to this problem, and I think I can safely say that this is due to human error every single time.
When linking your google play app in the developer console to google cloud it might automatically create one for you, but if you reload the page it will make a second one. You have to make sure you select the right google cloud app to link because it might not properly connect if you use the wrong one.
Once you have done this you need to create a website or link a website that has been verified (you can verify it yourself) with google. You should then be able to setup your app easily! Not every step will be instant you might sometimes have to wait a day or two for it to work.
I've been successfully pulling messages from my pages using the Facebook Graph API until today when I started getting an error:
GraphAPIError: (#12) This endpoint is deprecated for versions v2.4 and higher
I double checked my permissions using the Graph API Explorer tool, and replicated the error there:
I also double checked the Conversation Facebook Graph API reference, and it says
GET graph.facebook.com/{id}?fields=messages{message}
should work to access the content of a specific conversation, however I keep getting the deprecation error any time I'm trying to access to messages field.
Any thoughts what could have broken since yesterday, or an alternative way to extract my page messages trough the Graph API?
This is a Facebook bug that's being treated as high priority.
Hopefully they'll fix it soon.
https://developers.facebook.com/bugs/163782704230317/
I have an application which will create an encrypted file which i want to upload it to Dropbox (from no, and later in google Drive also). How can upload this file to dropbox from within the application. I have googled a lot for MFC integration with dropbox but havent come across any useful resource yet. If anyone has implemented it earlier please help..
For my own app I initially tried this the hard way, writing wrappers around Google Drive and DropBox to interface directly with their web services.
After a while I gave up on that (because the APIs were difficult to work with and there was almost no sample code of any kind) and instructed users to install the respective Windows clients for these services so that uploading was as simple as copying the file to their local Google Drive or DropBox folders.
It may not be the solution you want but it has worked well for me.
I followed this article: https://developers.google.com/glass/quickstart/java
and try to create a Google APIs Console Project.
But in Services tab I don't see Google Mirror API to enable it!
Try again. At the time you asked the question, the Mirror API was behind a whitelist, but that whitelist has since been removed. Now anyone can enable the Mirror API.
It seems its not available to everyone. Follow this thread and it becomes clear.
https://plus.google.com/+GoogleDevelopers/posts/cwWuUY6xYKW
However, it seems you can try it out on https://developers.google.com/glass/playground.
I just picked up my Glass today and they manually enable the Mirror console once you pick up. Even after they whitelisted me for the API, it took about 3 hours to be activated on my account.
I'm trying to get authenticated for receiving and publishing Google Buzz-es from a Qt 4.6(c++) application. I'm looking for a cross-platform solution.
Could anyone provide some working solution for this purpose?
You can also try kQOAuth which is a new Qt library for doing OAuth authentication. It will let you do the user authentication very easily too, if you like.
Supports OAuth 1.0 and HMAC-SHA1. No external dependencies.
http://www.johanpaul.com/blog/2010/10/introducing-kqoauth-easy-and-powerful-oauth-library-for-qt/
I couldn't find any either, so I made one: https://github.com/pipacs/steps/tree/master/o2 . Based on KQOAuth, tested with Google Docs.
Quick google search gave me QOAuth, which is a Qt lib and liboath which is a C based API.
I'm using QOAuth, you have to do some hack before you can use QOAuth in windows.
So far, I could get the request token from Google, and let the user authorize it.
But when I try to get the access token with the oauth_verifier, it keeps telling me the signature is invalid.
Anyway, I've used QOAuth to deal with other SP successfully. So the QOAuth is the solution.