组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Heden 75
How to integrate Liferay to Linkedin and other social networks
2009年12月31日 上午10:27
答复

Heden 75

等级: New Member

帖子: 16

加入日期: 2008年8月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年1月7日 上午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年1月10日 上午6:49
答复

Heden 75

等级: New Member

帖子: 16

加入日期: 2008年8月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月1日 上午7:15
答复

Daniel Breitner

等级: Junior Member

帖子: 94

加入日期: 2008年7月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年3月23日 上午3:16
答复

Jasper Spoor

等级: New Member

帖子: 8

加入日期: 2011年7月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年4月12日 下午12:53
答复

William Gosse

等级: Regular Member

帖子: 202

加入日期: 2010年7月4日

最近的帖子

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年4月14日 上午12:38
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月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年4月16日 上午11:26
答复

William Gosse

等级: Regular Member

帖子: 202

加入日期: 2010年7月4日

最近的帖子

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年4月30日 下午1:26
答复

William Gosse

等级: Regular Member

帖子: 202

加入日期: 2010年7月4日

最近的帖子

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年8月31日 上午4:35
答复

Ahamed Sakir

等级: Regular Member

帖子: 133

加入日期: 2008年8月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年3月9日 上午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年6月7日 上午12:57
答复

Maarten J

等级: New Member

帖子: 18

加入日期: 2012年1月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.