Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Callback URL [iOS]

ANSWERED

2 questions:

a) If I am making an iOS app named "MyFitbitApp", what should the value be for callback URL in the dev.fitbit.com application settings?

undefined

b) What should the url scheme in Xcode be for the app?

undefined

PS: I'm using the OAuth.io ios sdk found here:

https://github.com/oauth-io/oauth-ios

 

Thanks

Best Answer
1 BEST ANSWER

Accepted Solutions

In general, most iOS apps register a custom url scheme like myapp://fitbit.

View best answer in original post

Best Answer
4 REPLIES 4

In general, most iOS apps register a custom url scheme like myapp://fitbit.

Best Answer

Hi Dan,

 

Aside from this, what else could you suggest? I tried that but it doesn't recognize my app even though I'm using the correct app name while in development stage.

Best Answer
0 Votes

what will be exact redirect_uri. I have tried by using my appname://fitbit, appname:// 

Am getting error : invalid_request - invalid redirect_uri parameter value 

Best Answer
0 Votes

Don't know if you still need help, but when trying to figure out how to do it this article helped me: 

http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

Best Answer
0 Votes