尝试在 iPhone 应用程序中集成 LinkedIn [英] Try to integrate LinkedIn in iPhone application

查看:29
本文介绍了尝试在 iPhone 应用程序中集成 LinkedIn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 没问题.

阿米特巴坦

解决方案

很可能你需要添加一些静态库(.a 文件)...或者来自linkedIn源的src文件夹本身...

I have download the source from https://github.com/ResultsDirect/LinkedIn-iPhone . Demo working fine, and try to use in my application.

I have followed all the steps already whatever required as mention here in post ...

But I have getting the error

"_OBJC_CLASS_$_RDLinkedInEngine", referenced from:
"_OBJC_CLASS_$_RDLinkedInAuthorizationController", referenced from:

When I comment the lines of RDLinkedInEngine and RDLinkedInAuthorizationController then error are removed

- (void)loadView {
    [super loadView];
//    rdEngine = [[RDLinkedInEngine engineWithConsumerKey:kOAuthConsumerKey consumerSecret:kOAuthConsumerSecret delegate:self] retain];
}
- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
//    if( !rdHasAppeared ) {
//        UIViewController* controller = [RDLinkedInAuthorizationController authorizationControllerWithEngine:rdEngine delegate:self];
//        if( controller ) {
//            [self presentModalViewController:controller animated:YES];
//            rdHasAppeared = YES;
//        }
//        else {
//            NSLog(@"Already authenticated");
//        }
//    }
}

I my application I have already integrated MGTwitterEngine from source https://github.com/bengottlieb/Twitter-OAuth-iPhone Which is wokring ok.

Amit Battan

解决方案

most probably you need to add some static library (.a file)... or src folder itself from linkedIn source...

这篇关于尝试在 iPhone 应用程序中集成 LinkedIn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆