# Strange problem connecting to LinkedIn

**URL:** <https://www.ruby-forum.com/t/strange-problem-connecting-to-linkedin/194024>\
**Category:** Rails\
**Created:** [August 28, 2010, 6:54am UTC](https://www.ruby-forum.com/t/strange-problem-connecting-to-linkedin/194024 "2010-08-28T06:54:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynchnco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/c77e96/32.png) [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Post date:** [August 28, 2010, 6:54am UTC](https://www.ruby-forum.com/t/strange-problem-connecting-to-linkedin/194024/1 "2010-08-28T06:54:11Z")

</div>

Hello,  
So I installed the ‘linkedin’ gem, an oauth wrapper allowing you to  
connect to LinkedIn. I followed this tutorial  
([http://pivotallabs.com/users/will/blog/articles/1096-linkedin-gem-for-a-web-app](http://pivotallabs.com/users/will/blog/articles/1096-linkedin-gem-for-a-web-app))  
quite fastidiously, and was successful in pulling and saving  
authentication token and the authentication secret to the database.

So in a different method, I call create a new LinkedIn client, call  
client.authorize\_from\_access, and then try to access client.profile.  
Here things melt down, and I get a very peculiar “uninitialized constant  
LinkedIn::Profile::ROXML.”

I also ran the example code  
([http://github.com/pengwynn/linkedin/blob/master/examples/authenticate.rb](http://github.com/pengwynn/linkedin/blob/master/examples/authenticate.rb))  
off github in console, and got the same error. I’ve spent a good many  
hours trying to figure this out, but to no avail. Any help would be  
appreciated! Thanks!

[http://pastie.org/1121872](http://pastie.org/1121872)
