-
Creating simple image gallery on website powered by Dropbox
I am an average PHP programmer, and I would like to create an image gallery on my website powered by one of my Dropbox image folders. I intensively searched through forum and development section of dropbox but still get a bit confused. Here is the idea. Amongst all menu links on my page one would be Image gallery. I think…
-
Sharable link to file using Java API v2
Hello, I am able to upload a file with Java API v2: try (InputStream inputStream = new FileInputStream(localFile)) { return mDbxClient.files().uploadBuilder(remoteFolderPath + "/" + remoteFileName) .withMode(WriteMode.OVERWRITE) .uploadAndFinish(inputStream); } catch (DbxException | IOException e) { mException = e; } How…
-
How to download a file and save to local PC
I am new to using php and dropbox, so this query may seem simple. My application is to integrate the ability to upload/download to a specified folder in my Dropbox. I can do the following in php (with the help of CodeCourse) * authenticate * list my files in a given folder * upload a file to a given folder I am struggling…
-
pending_upload parameter in create_shared_link
The create_shared_link function has been deprecated. Is there another way to get a shared link via the API for a file that is still pending upload? The new function (create_shared_link_with_settings) does not appear to have a similar option... or am I missing something? This is a VERY handy function so we can immediately…
-
How share files direct to dropbox via intent?
Hi all. The dropbox have a intent to share files, i see the dropbox when i want share a simple image on Android. Now my question is, how share a image or file direct to dropbox via intent? like the user selected the dropbox icon? I dont want show all apps to share, only share direct via intent. for the google drive i use…
-
Android InvalidAccessTokenException at attempt to load file after auth.
I've got InvalidAccessTokenException at any attempt to upload file to Dropbox. For authorization I use next algorithm: Auth.startOAuth2Authentication(context, APP_KEY); //granting access //previous activity is reopened String accessToken = Auth.getOAuth2Token(); DbxRequestConfig requestConfig =…
-
How to get metadata for files and folders in Dropbox REST API v2 C# using Nemiro.OAuth
I'm converting Dropbox features from v1 to v2. In Dropbox v1 I'm fetching metadata using the below code- RequestResult strReq = OAuthUtility.Get ( "https://api.dropbox.com/1/metadata/auto/", new HttpParameterCollection { { "path", "" }, { "access_token", "AccessToken" } } ); Now I want to make the same call in Dropbox API…
-
Create an instance class of userSelectorArg with parameters .NET V2
I want to do the MembersGetInfoAsync(IEnumerable<UserSelectorArg>) but am wondering how to I create a new instance of the UserSelectorArg with an email of the user I want? I can only find a constructor that takes 0 arguments but I want to create one with a specified email so that I may input it into the above function, or…
-
how to get all files in pdf format can dropbox convert before i download it through the API
I have doc file on my dropbox when i access these files from my app i want them to be in pdf techincally i want them to be downloaded in pdf
-
Android - Download image miniature
Hello, how i can load all the images from a dropbox account on a listview with imageviews?
-
list_shared_links from folder
Hi. On the API says "If a non-empty path is given, returns a list of all shared links that allow access to the given path" I have a folder with 5 files and 3 of them has a shared link When i ask for list_shared_links and pass the path to this folder the result is empty. <SPAN><SPAN>curl -X POST…
-
share file inside a folder by id
Hi. I'm trying to share a file by his id. If the file it's on the root folder, using '/create_shared_link_with_settings' i can pass only the id, and testing on the api explorer works fine. So, i tried to do the same with a file inside a folder. <SPAN><SPAN>curl -X POST https://api.dropboxapi.com/<SPAN…
-
Android APK - DEX Limit because of DropBox methods
I run into the DEX Limit because of the DropBox methods. There are 9998 methods. Are there any smaller packages to add? Android with the "support" librarys are splitted in smaller packages so you can add what you need instead of ALL. I need DropBox only for file upload and download so I think I don't need the full SDK.…
-
Getting "invalid_token './' " after copying User Token
I'm making a program in VB.Net and I have a form to paste the user Token but when I click "Ok" an error is displayed. It says: "invalid_token './'". This is my code: Private Async Function GetUserData() As Task Try If UserToken = Nothing Then Dim enable As New EnableDropBox If enable.ShowDialog =…
-
I got ERR_CONNECTION_TIMED_OUT when redirect user to redirect uri
ERR_CONNECTION_TIMED_OUT when redirect user to redirect uri
-
get_metadata last modified user
The /2/files/get_metadata endpoint gives the following metadata properties for files: .tag, name, path_lower, path_display, id, client_modified, server_modified, rev, size It does not return the id of the user that did the last modification. Can this information be obtained? When the file has been shared, the docs suggest…
-
How to display Progress Status while uploading/ downloading a file ( in .Net ) ?
I have tried with downloading and uploading functions, it gives the progress data alright, but I can not set that data to progress bar. I have worked with couple of hours but can not place that process status in the progress bar or any other way. I have attached codes of Upload private async Task ChunkUpload() { string…
-
ParseTokenFragment
I am using Dropbox.NET The call to parse token fragment recently stopped working. Glancing at the incoming URL it looks different then it used to. Have there been changes to the URL sent to me by dropbox that have broken that call.
-
How to get Progress Status while uploading/ downloading a file ( in .Net ) ?
I am using DropboxClient.Files.UploadAsync method for uploading file and DropboxClient.Files.DownloadAsync for downloading. Uploading and Downloading works perfectly but can't get the progress status. A example in C# will be very helpful.
-
sharing_list_shared_links(...) repeatedly returns the same cursor.
When I call sharing_list_shared_links(path=None, cursor=None, direct_only=None) in Python using the official SDK v2 the resulting ListSharedLinksResult contains the same cursor, which leads to an endless loop in the worst case. The has_more flag is true in every iteration. We are using the account for continuous…
-
shared app directory, exists but inaccessible to my app
Created an app, linked to a specific directory. Lets call it acme. Create acme directory on my dropbox which I shared and placed some more directories and files within it. Able to authenticate as the app using an HTTP API call. But when I call the share files API call; I get an error, like it doesn't work. curl -X POST…
-
Get Account Id from UserInfoMembership using Team Client .NET
I am using a dropbox admin account and using ListFolderMembersAsync and grabbing the UserMemberShipInfo which returns UserInfo. When I get this data returned some of the accounts have TeamMemberId while some have AccountId. TeamMemberId is not always returned with this api call. How do I do an api call to get the account…
-
Can't upload xlsx file to dropbox app
Hi guys, as the title says, I'm unable to upload an xlsx file, I can successfully upload other formats as xls, pdf, ppt, etc. but this gives an error in the moment I'm trying to upload it. The call is via AJAX (jQuery), something like this: $.ajax({ url: 'https://content.dropboxapi.com/2/files/upload', type: "POST",…
-
How to launch Dropbox app from my app in a specific folder?
Hey guys what's up? So as I said in the title. I'm trying to launch dropbox app from my app in the folder created by my app. How can I do that? PackageManager pm = getApplicationContext().getPackageManager(); Intent intent = pm.getLaunchIntentForPackage("com.dropbox.android");…
-
Is it possible to get the share link for a file which has been uploaded to dropbox?
I want to integrate Dropbox with my android app. After authentication when I upload a file to Dropbox I also want to retrieve the share link for that file. Is it possible to get it with metadata? Is it possible to get the share link for a file via api call? Can somebody help? Thank you.
-
Calling Methods "asTeamMember" dropbox V2 api .NET
In the V1 api you have the option to make a call as a team member that will: <param name="asTeamMember">Specify the member_id of the user that the app wants to act on.</param> This is the old V1 ListRevisionAsync: Task<IEnumerable<MetaData>> RevisionsAsync(string path, int rev_limit = 10, string locale = null, string…
-
Dropbox file path for direct acces
Hi everyone, I'm trying to develop a web application which would allow me to play audio files from my dropbox account. I'm using the Dropbox API to navigate through the files and folders in my account and get only the audio files i want. Is it possible to get the full path to a file from my account that would be accesible…
-
The dependency `SwiftyDropbox` is not used in any concrete target. error when installing framewo ...
rk with CocoaPods Hi, I get the following "The dependency `SwiftyDropbox` is not used in any concrete target." error when installing SwiftyDropbox into my xcode project usinf cocoapods. Please can anyone help? Thanks,