Closed jinwoo-lee-github closed 12 years ago
We use a custom scheme in the callback from Twitter, and that line is used to detect if the URL we're trying to open is using the custom scheme, so everything is fine there. Check line 34 in RSTwitterEngine.m, the custom scheme is "rstwitterengine".
I'm sorry but I don't understand what you want.
Please be more specific.
i want to know "twitter application" callback value
We use a custom scheme in the callback from Twitter, and that line is used to detect if the URL we're trying to open is using the custom scheme, so everything is fine there. Check line 34 in RSTwitterEngine.m, the custom scheme is "rstwitterengine".
Reply to this email directly or view it on GitHub: https://github.com/rsieiro/RSOAuthEngine/issues/5#issuecomment-5273328
As I told you, it's defined at line 34 on RSTwitterEngine.m:
#define TW_CALLBACK_URL @"rstwitterengine://auth_token"
i see i will try it . thank you
2012년 4월 24일 화요일에 Rodrigo Sieiro님이 작성:
As I told you, it's defined at line 34 on RSTwitterEngine.m:
#define TW_CALLBACK_URL @"rstwitterengine://auth_token"
Reply to this email directly or view it on GitHub: https://github.com/rsieiro/RSOAuthEngine/issues/5#issuecomment-5288749
I'm running into the same issue when using this to authenticate on LinkedIn - webview isn't picking up the custom url scheme so it doesn't self dismiss after authentication.
Only change i've made to your code is to add my API keys and the LinkedIn api urls:
// Default twitter hostname and paths
Try to put a breakpoint at line 77 on WebViewController.m (first line of webView:shouldStartLoadWithRequest:navigationType:). Then check if, after authentication, LinkedIn is trying to redirect you to your callback URL.
WebViewController.m
my idea is that 77 line be wrong
because
request.URL.scheme return values are http or https .
Please check it.