Link app to dropbox - objective-c

I have an app with a dropbox link capability. There is a button called link. Then a safari page is opened with dropbox, and you can link the app to your account. But since I want all the users to log in with my account, I didn't want to dysplay my email and passward on the app, but by preesing link, automatically the app is linked with my account, withought showing the passward, amd withought opening the dropbox link in safari. How can I do this?

Very bad idea. Users should use their own Dropbox account, otherwise you would possibly violate Dropbox's terms of service (you're not allowed to share your credentials) and, perhaps more importantly, any user would be able to delete or corrupt all other users' data.
The only way you could make your own Dropbox account accessible in the app, other than including your email address and password, would be to include an authorized OAuth token which could easily be extracted and abused by anyone who downloads your app.

Related

Accessing own Dropbox storage from an application

I would very much like to enable users of my app to backup some of app data on their own Dropbox. I would like to direct users to login to their Dropbox account with their email and password and then the app would generate and store a file there without users having do anything on their own.
Is this possible?
I wouldn't want users to have to go to Dropbox App Console and then Create App and then fill in all the options and then copy the access token and paste in my app manually. That would repel a lot them.
I haven't seen anything in the docs suggesting that programmatic access to an account without an app created in the Console and generated access token is possible? Did I miss something?
Yes, this is possible. You as the developer would register the app once, and implement the Dropbox OAuth app authorization flow in your app to allow your end-users to then connect your app to their accounts.
You may want to check out the following guides:
https://www.dropbox.com/developers/reference/getting-started
https://developers.dropbox.com/oauth-guide
https://developers.dropbox.com/dbx-file-access-guide

upload file to google drive without human interaction via SDK

I want to upload files to google drive. I'm using C# and have referred following links to get started
https://developers.google.com/drive/v3/web/quickstart/dotnet
https://developers.google.com/drive/v3/web/manage-uploads
I'm able to upload the file successfully to google drive but my main concern is I don't want to display any sort of UI/human interaction. It should be able to automatically upload the file.
Using OAuth2.0 there is a need that we have to manage and generate access/refresh token. I have no idea how these should be managed.
Isn't there any other way where the user can have access to google drive programmatically just by sharing his/her Gmail account username/password to achieve this?
Isn't there any other way where the user can have access to google drive programmatically just by sharing his/her Gmail account username/password to achieve this?
No there is not
The user needs to authorise your app one time. After that, you can save Refresh Token and use that for future unattended use.

Is it possible to upload files from an without asking the user to sign in?

I have a Dropbox account.
I would like to use it, so that an android app can upload photos to my Dropbox account, without the user of the app having to know my credentials to log in.
Is that possible ?
Is there a programmatic way, that I can get my app to do this, without the user of the app having to know my dropbox password ?
EDIT: I don't understand why this is down voted. If there are multiple posts asking how to do this, by different users, and it is with regard to finding a programmatic why to log in, then it is relevant and shouldn't be down voted.
Refer to this thread on dropbox forums which says that they did not include the file requests feature in their apis so its not possible through apis.
Since the native api does not support this feature you can redirect your user from your app to dropbox app to create file requests.

Remove my application from user with Dropbox API v2

I'm creating a Dropbox application which uses a webhook to get the file's updates.
When a user uses my app, I receive notification on my webhook URL. Perfect.
But if the user no longer wants to use my app, and removes the Dropbox link from my site... How can I remove my app from the Dropbox user's account to not receive calls anymore on my webhook URL?
The user can unlink an app from their account via the "Apps linked" section of their account security page:
https://www.dropbox.com/account/security
This will stop webhook notifications for that user from being sent to the app.
There isn't a way for the app to do this programmatically though. The Dropbox API only provides a way to revoke access tokens, but not a way to completely unlink the app from the account. We'll consider this a feature request for that though.

Removing applications from Google+ Manage Apps page

I can't see any way to delete apps from the G+ Manage Apps page. I can disconnect there, or revoke access from the Google OAuth authorized apps page, but I can't see any option to remove it altogether.
Disconnecting using the Google+ Apps page will let you remove all the activities associated with the app, and will revoke access to your information to the app in question. It should also delete it from the list.
Update
For the record, this link currently redirects to https://myaccount.google.com/permissions which does the same thing.