Fóruns

Início » Liferay Portal » English » 2. Using Liferay » General

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Heden 75
How to integrate Liferay to Linkedin and other social networks
31 de Dezembro de 2009 10:27
Resposta

Heden 75

Ranking: New Member

Mensagens: 16

Data de entrada: 20 de Agosto de 2008

Mensagens recentes

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
7 de Janeiro de 2010 09:06
Resposta

Jim Budet

Ranking: New Member

Mensagens: 18

Data de entrada: 25 de Novembro de 2009

Mensagens recentes

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
10 de Janeiro de 2010 06:49
Resposta

Heden 75

Ranking: New Member

Mensagens: 16

Data de entrada: 20 de Agosto de 2008

Mensagens recentes

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
1 de Novembro de 2011 07:15
Resposta

Daniel Breitner

Ranking: Junior Member

Mensagens: 94

Data de entrada: 16 de Julho de 2008

Mensagens recentes

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
23 de Março de 2012 03:16
Resposta

Jasper Spoor

Ranking: New Member

Mensagens: 8

Data de entrada: 26 de Julho de 2011

Mensagens recentes

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
12 de Abril de 2012 12:53
Resposta

William Gosse

Ranking: Regular Member

Mensagens: 202

Data de entrada: 4 de Julho de 2010

Mensagens recentes

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
14 de Abril de 2012 00:38
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

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
16 de Abril de 2012 11:26
Resposta

William Gosse

Ranking: Regular Member

Mensagens: 202

Data de entrada: 4 de Julho de 2010

Mensagens recentes

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
30 de Abril de 2012 13:26
Resposta

William Gosse

Ranking: Regular Member

Mensagens: 202

Data de entrada: 4 de Julho de 2010

Mensagens recentes

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
31 de Agosto de 2012 04:35
Resposta

Ahamed Sakir

Ranking: Regular Member

Mensagens: 133

Data de entrada: 22 de Agosto de 2008

Mensagens recentes

very nice. Is it support LR 6.0.6?


Regards
Sakir
Nilesh Gundecha
RE: How to integrate Liferay to Linkedin and other social networks
9 de Março de 2013 04:44
Resposta

Nilesh Gundecha

Ranking: Regular Member

Mensagens: 196

Data de entrada: 30 de Novembro de 2009

Mensagens recentes

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
7 de Junho de 2013 00:57
Resposta

Maarten J

Ranking: New Member

Mensagens: 18

Data de entrada: 25 de Janeiro de 2012

Mensagens recentes

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.