フォーラム

ホーム » Liferay Portal » English » 2. Using Liferay » General

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Heden 75
How to integrate Liferay to Linkedin and other social networks
2009/12/31 10:27
答え

Heden 75

ランク: New Member

投稿: 16

参加年月日: 2008/08/20

最近の投稿

Dear all,

I am currently using the Facebook portlet with Liferay 5.2.3 to share some contents between my Liferay portal and the social network. Since I haven't seen or head about any other "social network" portlets I'd like to know if there are any ongoing projects to connect Liferay with other social networks (Linkedin, Twitter, Viadeo, etc...).

If you have already succeeded to connect the portal and share some contents with another social network (excluding Facebook), please share with us your experience.

Many thanks in advance.
Jim Budet
RE: How to integrate Liferay to Linkedin and other social networks
2010/01/07 9:06
答え

Jim Budet

ランク: New Member

投稿: 18

参加年月日: 2009/11/25

最近の投稿

I'm sorry to say that I don't have anything to share. However, I'm curious as to which "Facebook Portlet" you're referring to?

Thanks. -JB
Heden 75
RE: How to integrate Liferay to Linkedin and other social networks
2010/01/10 6:49
答え

Heden 75

ランク: New Member

投稿: 16

参加年月日: 2008/08/20

最近の投稿

Sorry,

I was referring to the sharing options of portlets and not to a specific portlet. If you are interested in I just described here my current achievements: http://www.liferay.com/web/guest/community/forums/-/message_boards/message/4432842
Daniel Breitner
RE: How to integrate Liferay to Linkedin and other social networks
2011/11/01 7:15
答え

Daniel Breitner

ランク: Junior Member

投稿: 96

参加年月日: 2008/07/16

最近の投稿

Hi,

MIght be a little late ^^ ...

but here is my approach to integrate linkedIn into Liferay 6: http://liferay-blogging.blogspot.com/2011/10/connecting-liferay-to-linkedin.html

I will be adding the same for facebook in a couple of days.

Best regards,

Daniel
Jasper Spoor
RE: How to integrate Liferay to Linkedin and other social networks
2012/03/23 3:16
答え

Jasper Spoor

ランク: New Member

投稿: 8

参加年月日: 2011/07/26

最近の投稿

Rotterdam Community Solutions recently released their second stable version of a LinkedIn authentication plugin for Liferay. If you're looking for such a feature, please check out liferay.com's community plugin page or read about it's details on our company website. The project repository is also available online through GitHub at www.github.com/rotterdam-cs/liferayLinkedin. If you have any comments, suggestions or issues please contact me directly on jasper [ a t ] rotterdam-cs.com or through our contact form on the company website.

I hope you'll like it.

Regards, Jasper
William Gosse
RE: How to integrate Liferay to Linkedin and other social networks
2012/04/12 12:53
答え

William Gosse

ランク: Expert

投稿: 277

参加年月日: 2010/07/04

最近の投稿

I assuming that this source code should be added to a liferay ext project?
Hitoshi Ozawa
RE: How to integrate Liferay to Linkedin and other social networks
2012/04/14 0:38
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7949

参加年月日: 2010/03/23

最近の投稿

It's a plugin for Liferay 6.1.0. Just deploy it by copying it to your \deploy folder.
William Gosse
RE: How to integrate Liferay to Linkedin and other social networks
2012/04/16 11:26
答え

William Gosse

ランク: Expert

投稿: 277

参加年月日: 2010/07/04

最近の投稿

The 2.0 download only has source code so it needs to be built.
I found a pdf with directions on how to build and deploy this hook using maven

The plugin seems to be added to the portal's Authentication page under Portal Settings.

The new Linkedin link is also added to sign in page as well.
.
I'm trying to use it with my localhost dev system.
I'm not sure if I have the redirect url correct though.

I created an app in linkedin and got the app key and secret.

When I click on the linkedin link on the sign in page it takes me to the linkedin page where i can login and allow my app to access linkedin.

However I'm not getting logged into liferay and its not creating a new liferay user for me.

I'm assuming that this should be somewhat similar to how the facebook plugin works which i'm currently using.

I have my redirect url set to:
http://localhost:8080/web/guest/home

and this is the url I see when I login into likedin and get redirected back to liferay:
http://localhost:8080/web/guest/home?p_p_id=58&p_p_state=normal&p_p_mode=view&_58_struts_action=%2Flogin%2Fenter_email&oauth_token=e7cd8dfe-835b-40da-ac0b-60dc28e174d5&oauth_verifier=15501

But nothing seems to happen after I land back on the liferay home page. I'm not being redirected to the new enter email page.

I must be missing something. Any suggestions would be appreciated.
William Gosse
RE: How to integrate Liferay to Linkedin and other social networks
2012/04/30 13:26
答え

William Gosse

ランク: Expert

投稿: 277

参加年月日: 2010/07/04

最近の投稿

I finally resolved this issue with help from the Aad in Rotterdam.

The issue was a missing tiles configuration. Here's Aads answer:
1. The redirect URL http://localhost:8080/web/guest/home is Ok.
2. Check if there are no errors in logs.
3. Check the configuration:

1) in file liferay-portal-6.1/tomcat-7.0.23/webapps/ROOT/WEB-INF/struts-config-ext.xml the following code should be present:
<action path="/login/enter_email" type="com.liferay.portlet.login.action.EnterEmailAction">
<forward name="portlet.login.enter_email" path="portlet.login.enter_email" />
</action>
2) in file liferay-portal-6.1/tomcat-7.0.23/webapps/ROOT/WEB-INF/tiles-defs.xml the following code should be present:
<definition name="portlet.login.enter_email" extends="portlet.login">
<put name="portlet_content" value="/portlet/login/enter_email_linkedin.jsp" />
</definition>


The only thing I seem to be missing was the entry for the tiles-defs.xml.

I actually put that in tiles-defs-ext.xml.

There was a version of the struts-config-ext.xml in your project that I downloaded.
Ahamed Sakir
RE: How to integrate Liferay to Linkedin and other social networks
2012/08/31 4:35
答え

Ahamed Sakir

ランク: Regular Member

投稿: 133

参加年月日: 2008/08/22

最近の投稿

very nice. Is it support LR 6.0.6?


Regards
Sakir
Nilesh Gundecha
RE: How to integrate Liferay to Linkedin and other social networks
2013/03/09 4:44
答え

Nilesh Gundecha

ランク: Regular Member

投稿: 196

参加年月日: 2009/11/30

最近の投稿

This works great. But is bothering me is what happens if some enters different email Id after authenticating using LInkedin. My observation is below -

1) Scenario 1: If the entered email Id is not registered -
This will create new user by provided email Id and details from linkedin authentication.

2) Scenario 2: If the entered email Id is registered -
This automatically gets login by user having email Id which is entered (not by which the Linkedin is authenticated). This is high security issue.

Or am I wrong somewhere. Plz suggest.

Regards,
Nilesh
Maarten J
RE: How to integrate Liferay to Linkedin and other social networks
2013/06/07 0:57
答え

Maarten J

ランク: New Member

投稿: 18

参加年月日: 2012/01/25

最近の投稿

Rotterdam CS recently released the liferay social network integration portlet. You can check it out at http://www.rotterdam-cs.com/nl/tools/-/asset_publisher/piIpOr8rXNan/content/social-networking-integration-portlet. It's connecting to LinkedIn, Google+ and Facebook.

Please let me know if you have any questions about it.