掲示板

Tweet My World Portlet

thumbnail
13年前 に Sandeep Nair によって更新されました。

Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Pranay R Patadiya によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 177 参加年月日: 10/02/23 最新の投稿
Hi Sandeep,

It is really very good and helpful tool for us.

Really wonderful.

Regards,
Pranay Patadiya
thumbnail
13年前 に Jignesh Thakkar によって更新されました。

RE: Tweet My World Portlet

Junior Member 投稿: 26 参加年月日: 10/05/10 最新の投稿
Hi Sandeep,


Really you developed such a nice tool which is more helpful to liferay developers
13年前 に Babu Janarthanan によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 128 参加年月日: 08/07/31 最新の投稿
Hey Sandeep,
its really nice...you are rocking....
Thx for contributing it to the community
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Thanks guys
thumbnail
13年前 に Abhishek Saxena によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 130 参加年月日: 09/06/17 最新の投稿
Nice tool ......good going
All the best for future one`s , create a wiki post for the configuration and usage
thumbnail
13年前 に Ankur Srivastava によって更新されました。

RE: Tweet My World Portlet

Junior Member 投稿: 58 参加年月日: 08/11/09 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Yeah i have used JTwitter

Regards,
Sandeep
thumbnail
13年前 に zaheer mohammed saddapalli によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 165 参加年月日: 08/01/15 最新の投稿
Hi Sandeep,

Thats a great innovative idea.

Thank you for contributing it to community.


Regards,
SMDZ
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
thanks a lot nair.. emoticon
thumbnail
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Glad that it worked for you. emoticon
thumbnail
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
thanks amigo, saludos desde Sonora México.
thumbnail
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
broken again Nair, emoticon tweetmyworld stopped working in the last build.

saludos
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
yes I know, is something that they changed in the trunk.
thumbnail
13年前 に Ray Augé によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1197 参加年月日: 05/02/08 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Ray Augé によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1197 参加年月日: 05/02/08 最新の投稿
Ah sorry, I should have looked/read more closely.
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Chad Chatfield によって更新されました。

RE: Tweet My World Portlet

New Member 投稿: 3 参加年月日: 10/09/27 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
not ready yet
13年前 に Chad Chatfield によって更新されました。

RE: Tweet My World Portlet

New Member 投稿: 3 参加年月日: 10/09/27 最新の投稿
ETA?
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
I cannot promise coz i am right now working on a project, but may be before 15th Oct.
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Yes Gabriel. Sory i didnot post screenshots. I will post screenshots tonite when i get access to my machine.

Regards,
Sandeep
thumbnail
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
Thanks Nair,
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Please follow the follow steps
thumbnail
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
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
13年前 に Gabriel Leon Leyva によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
must be liferay's version, I build everyday from svn.

Thanks Nair.
thumbnail
13年前 に Dhandapani S によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 176 参加年月日: 09/03/24 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Can you plz delete Tweet_Twitterdetails table and deploy the attached war.You may have to stop server before deleting table.
thumbnail
13年前 に Dhandapani S によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 176 参加年月日: 09/03/24 最新の投稿
Hi Sandeep,

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

Regards

Dhandapani S
thumbnail
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Yes.
thumbnail
13年前 に Dhandapani S によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 176 参加年月日: 09/03/24 最新の投稿
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
13年前 に Sandeep Nair によって更新されました。

RE: Tweet My World Portlet

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
thumbnail
13年前 に Dhandapani S によって更新されました。

RE: Tweet My World Portlet

Regular Member 投稿: 176 参加年月日: 09/03/24 最新の投稿
Hi Sandeep,,,,


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

Regards

Dhandapani S