Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
Heden 75
How to integrate Liferay to Linkedin and other social networks
December 31, 2009 10:27 AM
Answer

Heden 75

Rank: New Member

Posts: 16

Join Date: August 20, 2008

Recent Posts

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
January 7, 2010 9:06 AM
Answer

Jim Budet

Rank: New Member

Posts: 18

Join Date: November 25, 2009

Recent Posts

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
January 10, 2010 6:49 AM
Answer

Heden 75

Rank: New Member

Posts: 16

Join Date: August 20, 2008

Recent Posts

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
November 1, 2011 7:15 AM
Answer

Daniel Breitner

Rank: Junior Member

Posts: 89

Join Date: July 16, 2008

Recent Posts

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
March 23, 2012 3:16 AM
Answer

Jasper Spoor

Rank: New Member

Posts: 8

Join Date: July 26, 2011

Recent Posts

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
April 12, 2012 12:53 PM
Answer

William Gosse

Rank: Regular Member

Posts: 108

Join Date: July 4, 2010

Recent Posts

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
April 14, 2012 12:38 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

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
April 16, 2012 11:26 AM
Answer

William Gosse

Rank: Regular Member

Posts: 108

Join Date: July 4, 2010

Recent Posts

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
April 30, 2012 1:26 PM
Answer

William Gosse

Rank: Regular Member

Posts: 108

Join Date: July 4, 2010

Recent Posts

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
August 31, 2012 4:35 AM
Answer

Ahamed Sakir

Rank: Regular Member

Posts: 117

Join Date: August 22, 2008

Recent Posts

very nice. Is it support LR 6.0.6?


Regards
Sakir
Nilesh Gundecha
RE: How to integrate Liferay to Linkedin and other social networks
March 9, 2013 4:44 AM
Answer

Nilesh Gundecha

Rank: Regular Member

Posts: 189

Join Date: November 30, 2009

Recent Posts

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
June 7, 2013 12:57 AM
Answer

Maarten J

Rank: New Member

Posts: 15

Join Date: January 25, 2012

Recent Posts

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.