[PLUGIN] Dropbox

Post your completed addons to share with the community

Post » Mon Sep 23, 2013 3:12 pm

Hi Septeven, Problem solved...Thank you. Somehow there was a problem for sometime and after a while it started working...I am not sure what the reason was! I too was surprised.
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

Post » Thu Oct 10, 2013 11:44 am

Septeven, I have built an App using the dropbox plugin, however when I try to run this App from a 3rd party site, then it throws an error in chrome browser saying -

Refused to display 'https://www.dropbox.com/1/oauth/authorize?oauth_callback=https%3A%2F%2Fwww.s%2Findex.php%23%3F_dropboxjs_scope%3Ddefault&oauth_token=********' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Any idea how I can get around this? It will be very helpful for me as I have almost built the entire application using the plugin and now this error will not make me upload my App to this site for all the work that I have done. Please help. Thanks a lot.
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

Post » Thu Oct 10, 2013 1:10 pm

Hi Septeven, I think if there is a way to do the Dropbox OAuth flow within an iframe, probably that could solve the problem. Do you think that is possible to modify in the plugin?
Thank you.
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

Post » Thu Oct 10, 2013 1:31 pm

OR even if the dropbox OAuth page opens in a new tab of the browser, the problem could be solved, in my opinion. The problem is happening because the dropbox OAuth is trying to load in the same page as the App. Any clue as to what can be done to open the dropbox authorization page in a new tab of the browser?
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

Post » Thu Oct 10, 2013 3:38 pm

@kmsravindra
I'm working on a project which gonna help me to keep my plugins (and re-code for some of them) - till I done this, I don't take the time to modify them.
But FYI, working of the OAuth method is on my priority on this plugin.
Anyway, about your 1st message, it sounds like a security problem, which kind of 3rd party site is?
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

Post » Thu Oct 10, 2013 4:52 pm

Hi Septeven,
I am doing a Flashcards Application that will be hosted on my Webserver but the app will be accessed by students/teachers on an Educational App site (this is what I called 3rd party, i meant that which is not mine). I have designed the App to use dropbox plugin and got an approval from dropbox as well. So there is no security issue with the site as such because I have seen similar Apps running on this site which open the cloud storage access like googledrive, dropbox etc., in a separate new window. But in our case, the dropbox plugin tries to open the dropbox access page in the same page as the App ( and this App is running in a iframe api given by the Educational site). I think that is where I am totally struck now...Any tiny piece of code or Quick fix that will help to open the dropbox access page in a new browser window will be immensely helpful...Request you to please suggest or if possible do this change if its a small one at the earliest. I really appreciate the help.

I am also thinking if there is a way to use the C2 inbuilt browser object to open a new window and somehow access the dropbox OAuth from that and upon being successful, the C2 App will start? Is that a possibility? Please suggest any other quick fix that you might be aware of.
Thank you.
For game development / IT services contact - ravindra@actualconcepts.com

List of published iOS apps -
https://itunes.apple.com/us/artist/ravi ... d693234511
B
69
S
18
G
3
Posts: 332
Reputation: 6,783

Post » Sun Mar 16, 2014 1:35 am

Hi!
Magnificent plugin ...
I'm trying to play an audio file that is in dropbox, but I'm not able to get ...
I would appreciate a little help ...
With a phenomenal .... text will also work with images?
thanks
B
4
S
1
Posts: 5
Reputation: 462

Post » Fri Mar 21, 2014 9:02 pm

Any chance to integrate this plugin with the DataStore API? https://www.dropbox.com/developers/datastore

It's perfect for construct and automatic saves.
Image
B
26
S
10
G
5
Posts: 25
Reputation: 3,130

Post » Fri Mar 21, 2014 9:31 pm

Real nifty stuff @septeven
Freefall Bird
B
37
S
8
G
5
Posts: 262
Reputation: 5,360

Post » Sat Mar 22, 2014 9:54 am

@Keyo
It´s on my todo list
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: DragoMej and 1 guest