开发者

rails - setting up linkedin gem

开发者 https://www.devze.com 2023-01-23 20:53 出处:网络
bit of a silly question but how do I use the linkedin gem(https://github.com/pengwynn/linkedin) I have installed the gem and understand about getting the actual profile data but the bit in the middle

bit of a silly question but how do I use the linkedin gem(https://github.com/pengwynn/linkedin)

I have installed the gem and understand about getting the actual profile data but the bit in the middle confuses me.

Where should the api key code block go ? should I be creating a seperate .rb file or should I call it at开发者_StackOverflow the top of the controller ?

Thanks, Alex


The example linked in the readme shows them creating a separate controller to handle the authentication.

Check out the example here

0

精彩评论

暂无评论...
验证码 换一张
取 消