开发者

How to socialize GWT application?

开发者 https://www.devze.com 2023-03-06 17:46 出处:网络
I am developing a GWT application that displays services provided by a company and I must allow users to share links of services in social networks like Facebook, LinkedIn and Twitter.

I am developing a GWT application that displays services provided by a company and I must allow users to share links of services in social networks like Facebook, LinkedIn and Twitter. Have you any idea how to do such a thing? Any help is appreciated Thank you in开发者_JAVA百科 advance for your help :)

Edit

i have tried AddThis but nothing was displayed there is the code :

    HTML socialNetworkLink = new HTML(
            "<div class=\"addthis_toolbox addthis_default_style addthis_32x32_style\">"
                    + "<a class=\"addthis_button_preferred_1\"></a>"
                    + "<a class=\"addthis_button_preferred_2\"></a>"
                    + "<a class=\"addthis_button_preferred_3\"></a>"
                    + "<a class=\"addthis_button_preferred_4\"></a>"
                    + "<a class=\"addthis_button_compact\"></a>"
                    + "<a class=\"addthis_counter addthis_bubble_style\"></a>"
                    + "</div>"
                    + "<script type=\"text/javascript\">var addthis_config = {\"data_track_clickback\":true};</script>"
                    + "<script type=\"text/javascript\" src=\"http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dd380ca4d8393c9\"></script>");
    sharePanel.add(socialNetworkLink);


You can use content sharing tools like addthis.com.

EDITED: or sharethis.com


Twitter: http://twitter.com/about/resources/tweetbutton
Facebook: http://developers.facebook.com/docs/reference/plugins/like/
LinkedIn: http://developer.linkedin.com/docs/DOC-1075

So where's the problem?

0

精彩评论

暂无评论...
验证码 换一张
取 消