Fórum

Tweet My World Portlet

thumbnail
Sandeep Nair, modificado 13 Anos atrás.

Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi everyone,

I am here with another portlet. Tweet My World

Thanks to Julio, which made me think about this idea. Last time when i gave community Google Chartlet, Julio posted the same in Twitter. I thought why not automate that.

Like whenever user adds a product or post a blog why not automatically update that status in Twitter. Thats the basic concept of Tweet My World Portlet

Features
# Sets Twitter Status as soon as some new content is added in the available assets
# Twitter Credentials configurable via control panel
# Supports Wikis, Blogs and Software Catalog right now
# Creates small url using Bit.ly internally

Links
SourceForge
Community Download page
JTwitter Page
Bit.ly api
More Info





Cheers,
Sandeep
thumbnail
Pranay R Patadiya, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 177 Data de Entrada: 23/02/10 Postagens Recentes
Hi Sandeep,

It is really very good and helpful tool for us.

Really wonderful.

Regards,
Pranay Patadiya
thumbnail
Jignesh Thakkar, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Junior Member Postagens: 26 Data de Entrada: 10/05/10 Postagens Recentes
Hi Sandeep,


Really you developed such a nice tool which is more helpful to liferay developers
Babu Janarthanan, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 128 Data de Entrada: 31/07/08 Postagens Recentes
Hey Sandeep,
its really nice...you are rocking....
Thx for contributing it to the community
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Thanks guys
thumbnail
Abhishek Saxena, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 130 Data de Entrada: 17/06/09 Postagens Recentes
Nice tool ......good going
All the best for future one`s , create a wiki post for the configuration and usage
thumbnail
Ankur Srivastava, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Junior Member Postagens: 58 Data de Entrada: 09/11/08 Postagens Recentes
Cool .. I haven't seen the code yet but wanted to ask something just out of curiosity :

Have you used any twitter api for java for developing this, like for updating status to twitter?
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Yeah i have used JTwitter

Regards,
Sandeep
thumbnail
zaheer mohammed saddapalli, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 165 Data de Entrada: 15/01/08 Postagens Recentes
Hi Sandeep,

Thats a great innovative idea.

Thank you for contributing it to community.


Regards,
SMDZ
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Thanks Zaheer.

Gustavo Fernandez has found a problem with my portlet behind proxy and solution for it. Please check this entry
http://www.zylk.net/web/guest/web-2-0/blog/-/blogs/using-jtweet-portlet-behind-a-proxy-for-twittering-liferay-contents

Thanks Gustavo

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
it dosnt work in liferay 6.0.3, what can be wrong? needs an update ?? thanks

by the way thanks nair great a must be feature in liferay!! great tool.
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi Gabriel,

Thanks for pointing it out. The problem was the package for SystemException that is used in service builder has changed. Additionally there were some exceptions that liferay want me to handle for some of the existing methods.

I have made the changes for the same and the portlet for Liferay 6 is now available in Plugins Page

I tested the same and its working fine. There seems to be a liferay bug while adding blog entry in IE. I keep getting OutOfmemory error in UI, but same thing works fine in firefox

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
thanks a lot nair.. emoticon
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
something is wrong, download it and install it in liferay 6.0.5 but nothing comes in twitter
do I have to install something else beside tweet-my-world? or it only works in 6.0.3

I submitted a blog and wiki but nothing shows in twitter

last build from liferay 6.0.5 (I'am a hobbie tester since 5.2) Great Product and Persons
Using Firefox
SO Ubuntu
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Jeez when did they release 6.0.5, the last i saw was 6.0.3 and it had problems with that coz of package changes. I have to look if they have 6.0.5 out. Any exceptions?

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
yep the problem its that I download the code every day from svn, and know they have 6.0.5 emoticon,
something comes in the log, will send it to you Monday.

thanks
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Oh in that case can you try building the code from svn using plugins sdk.

https://tweetmyworld.svn.sourceforge.net/svnroot/tweetmyworld/

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
build with plugins sdk

its throwing a bean locator error: sounds like a missing library

04:52:14,196 INFO [DialectDetector:69] Determining dialect for MySQL 5
04:52:14,198 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.MySQLDialect
Loading file:/opt/tomcat/webapps/tweetmyworld-6.0.4.1/WEB-INF/classes/service.properties
Loading file:/opt/tomcat/webapps/tweetmyworld-6.0.4.1/WEB-INF/classes/service.properties
04:52:14,629 INFO [HookHotDeployListener:395] Registering hook for tweetmyworld-6.0.4.1
Loading file:/opt/tomcat/webapps/tweetmyworld-6.0.4.1/WEB-INF/classes/portal.properties
04:52:14,644 INFO [HookHotDeployListener:645] Hook for tweetmyworld-6.0.4.1 is available for use
04:52:14,646 INFO [PortletHotDeployListener:222] Registering portlets for tweetmyworld-6.0.4.1
Loading file:/opt/tomcat/webapps/tweetmyworld-6.0.4.1/WEB-INF/classes/portlet.properties
04:52:14,720 INFO [PortletHotDeployListener:371] 1 portlet for tweetmyworld-6.0.4.1 is available for use
04:52:26,705 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
04:52:26,715 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
04:52:34,258 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
04:52:34,263 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
04:52:49,533 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi,

I took the latest code from trunk and deployed the existing portlet without any modification for 6.0.3 and it is working for me.

Any more testers for the same. Is someone else too facing the same problem.

Gabriel, can u plz delete the existing portlet from webapps and redeploy. After deploying, go to control panel, you should be able to see Tweet My Portlet on left.

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
I've done that alreary, delete existing portlet compile source, go to control panel
tweet-my-world try to comit changes but does not save the changes..


going back to liferay 6.0.3 and testing, will delete database, all portlets...
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
Not working... went back to 6.0.3 deploy the tweet-my-world.war file from site, could save data (username,pass) and blog, wiki, Started a blog, put some info and nothing comes out in tweeter. am I doing something wrong...? maybe have to install something more?

liferay 6.0.3 from sourceforge with the default portlets, new database...!! emoticon
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
it works..!! well I had a user template .lar page made in social office, delete blog page create it with liferay default blog template and worked....!!
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Glad that it worked for you. emoticon
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
thanks amigo, saludos desde Sonora México.
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
broken again Nair, emoticon tweetmyworld stopped working in the last build.

saludos
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi Gabriel,

I havent changed anything since the last version which is working for liferay 6. The last build that you are mentioning, is it liferays current code in trunk. If so then it must be liferays problem, maybe they have changed some package structure or something. With stable version of liferay it is still working fine for me.

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
yes I know, is something that they changed in the trunk.
thumbnail
Ray Augé, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1197 Data de Entrada: 08/02/05 Postagens Recentes
Twitter has changed their API authentication to require OAuth.

All clients of twitter must change their auth mechanism.

See http://blog.twitter.com/2010/08/twitter-applications-and-oauth.html
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
15:28:47,013 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet
15:28:47,074 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet
15:28:59,959 ERROR [BasePersistenceImpl:188] Caught unexpected exception java.lang.NullPointerException
15:29:00,042 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet
15:29:00,045 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet
thumbnail
Ray Augé, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1197 Data de Entrada: 08/02/05 Postagens Recentes
Ah sorry, I should have looked/read more closely.
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Thanks Ray for pointing me about OAuth. Twitter no longer supports Basic Authentication from Aug 31. Many a app have gone down due to this oauthcalypse. I will come up with modified portlet before this week ends that is befor 13th Sept.

Regards,
Sandeep
Chad Chatfield, modificado 13 Anos atrás.

RE: Tweet My World Portlet

New Member Postagens: 3 Data de Entrada: 27/09/10 Postagens Recentes
Unable to set username and password on the tweet my world admin screen:

log entry:16:13:41,665 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
16:13:41,739 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
16:18:49,166 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
16:18:49,178 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
16:19:01,124 ERROR [BasePersistenceImpl:182] Caught unexpected exception java.lang.NullPointerException
16:19:01,302 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null
16:19:01,361 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null

Liferay 6.0.5
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
not ready yet
Chad Chatfield, modificado 13 Anos atrás.

RE: Tweet My World Portlet

New Member Postagens: 3 Data de Entrada: 27/09/10 Postagens Recentes
ETA?
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
I cannot promise coz i am right now working on a project, but may be before 15th Oct.
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi,

Tweet my World portlet now supports OAuth authentication. You can download the wars for 5.2.3 and 6+ from Community Download page

Right now its very basic thing that i have done. Now in the control panel you will be first shown a link to get the verification pin, clicking on which should open twitter page and you have to login and change copy the verification pin, paste it in the screen shown in liferay along with the screen name or email address.

For liferay 6 you may have to stop the server, remove the portlet from webapps, delete temp and work folder and then restart the server and deploy the portlet, because sometimes there is a problem with servicebuilder in Liferay 6.



Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
sorry Nair about my little knowledge about this, where do I got the verification pin? emoticon it's like making a facebook app and getting the api key?

thanks in advance
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Yes Gabriel. Sory i didnot post screenshots. I will post screenshots tonite when i get access to my machine.

Regards,
Sandeep
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
Thanks Nair,
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
getting this Nair

17:51:52,442 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet
17:53:51,156 ERROR [SerializableSessionAttributeListener:39] winterwell.jtwitter.OAuthSignpostClient is not serializable and will prevent this session from being replicated
17:53:51,248 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet
17:53:51,251 ERROR [PortletBeanLocatorUtil:38] BeanLocator is null for servlet context tweet-my-world-portlet

Error: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: Server returned HTTP response code: 401 for URL: http://twitter.com/oauth/access_token
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi Gabriel,

I am not sure why this error is coming for you. For me its working fine. I have attached a war with this post. Try deploying that. But before deploying delete temp and work folder from tomcat. Also delete the portlet from webapps directory. Restart the server and then deploy whatever i have attached here.
thumbnail
Gabriel Leon Leyva, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 243 Data de Entrada: 20/06/09 Postagens Recentes
must be liferay's version, I build everyday from svn.

Thanks Nair.
thumbnail
Dhandapani S, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 176 Data de Entrada: 24/03/09 Postagens Recentes
Hi Sandeep,

I have deleted all my portlets excepts ROOT and tunnel web from webapps folder and I have deleted temp and work folder also. After that I have restarted the server. I deployed the war file. I am getting error, error screen is attached here for your reference. I am using Liferay 5.2.3 version.

Please help me out from this issue.
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Can you plz delete Tweet_Twitterdetails table and deploy the attached war.You may have to stop server before deleting table.
thumbnail
Dhandapani S, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 176 Data de Entrada: 24/03/09 Postagens Recentes
Hi Sandeep,

I am using HSQL only not mysql.. so is that table creating while deploy the portlet?

Regards

Dhandapani S
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Yes.
thumbnail
Dhandapani S, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 176 Data de Entrada: 24/03/09 Postagens Recentes
Hi sandeep,

Yeah after deployed the 5.2.3 version war, its working, i can able to see Tweet my world in control panel, but unfortunately i am not able to get pin due some proxy problem, they have blocked the site. let me try in my home.

One more thing, In office many sites got blocked due to some security issue, i am not able to download that from sourceforge.net. So, can u please attach the war file for Google chartlets portlet with version 5.2.3 and 6 as like u have given link for tweet portlet in ur previous post.

thanks for your help...



Regards

Dhandapani S
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
thumbnail
Dhandapani S, modificado 13 Anos atrás.

RE: Tweet My World Portlet

Regular Member Postagens: 176 Data de Entrada: 24/03/09 Postagens Recentes
Hi Sandeep,,,,


Thanks for ur immediate reply yar...... emoticon

Regards

Dhandapani S