Foren

How to integrate Liferay to Linkedin and other social networks

Heden 75, geändert vor 14 Jahren.

How to integrate Liferay to Linkedin and other social networks

New Member Beiträge: 16 Beitrittsdatum: 20.08.08 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

New Member Beiträge: 18 Beitrittsdatum: 25.11.09 Neueste Beiträge
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, geändert vor 14 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

New Member Beiträge: 16 Beitrittsdatum: 20.08.08 Neueste Beiträge
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
thumbnail
Daniel Breitner, geändert vor 12 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Regular Member Beiträge: 105 Beitrittsdatum: 16.07.08 Neueste Beiträge
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
thumbnail
Jasper Spoor, geändert vor 12 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

New Member Beiträge: 8 Beitrittsdatum: 26.07.11 Neueste Beiträge
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
thumbnail
William Gosse, geändert vor 11 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
I assuming that this source code should be added to a liferay ext project?
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
It's a plugin for Liferay 6.1.0. Just deploy it by copying it to your \deploy folder.
thumbnail
William Gosse, geändert vor 11 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
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.
thumbnail
William Gosse, geändert vor 11 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
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.
thumbnail
Ahamed Sakir, geändert vor 11 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Regular Member Beiträge: 129 Beitrittsdatum: 22.08.08 Neueste Beiträge
very nice. Is it support LR 6.0.6?


Regards
Sakir
thumbnail
Nilesh Gundecha, geändert vor 11 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Regular Member Beiträge: 205 Beitrittsdatum: 01.12.09 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

New Member Beiträge: 18 Beitrittsdatum: 25.01.12 Neueste Beiträge
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.
shahab alam, geändert vor 6 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

New Member Beiträge: 5 Beitrittsdatum: 09.06.17 Neueste Beiträge
How to integrate LInked in and twitter login plugin in liferay7. any suggestion?
thumbnail
William Gosse, geändert vor 6 Jahren.

RE: How to integrate Liferay to Linkedin and other social networks

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
Maybe you should look at the OpenId Plugin.
https://web.liferay.com/marketplace/-/mp/application/78695724