Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Facebook integration
Hi Friends,
I am using <liferay-ui:social-bookmarks/> tag for social networking
by default it supports digg,furl,reddit . now my question is i want to add facebook site in this list so that i can publish or share my data on facebook...
.so can any one help me out .
is it required facebook integration api for that ????
if yes than how i can use it ?
i am new to liferay so i am not that much aware about it. my liferay version is 5.2
Snapshot
I am using <liferay-ui:social-bookmarks/> tag for social networking
by default it supports digg,furl,reddit . now my question is i want to add facebook site in this list so that i can publish or share my data on facebook...
.so can any one help me out .
is it required facebook integration api for that ????
if yes than how i can use it ?
i am new to liferay so i am not that much aware about it. my liferay version is 5.2
<liferay-ui:social-bookmarks url="<%= bookmarkURL.toString() %>" title="<%= entry.getTitle() %>" target="_blank" />
Snapshot
Attachments:
Hi Jitendra,
have you found a solution to your question? I am looking for the same thing.
Cheers
have you found a solution to your question? I am looking for the same thing.
Cheers
I am not familiar enough with facebook to give you direct instructions. But the social bookmark providers that are shown are defined in portal.properties like this
looks like it would be easy to add your own if you knew the url
social.bookmark.types=blinklist,delicious,digg,furl,newsvine,reddit,technorati
social.bookmark.post.url[blinklist]=http://blinklist.com/index.php?Action=Blink/addblink.php&url=${liferay:social-bookmark:url}&Title=${liferay:social-bookmark:title}
social.bookmark.post.url[delicious]=http://del.icio.us/post?url=${liferay:social-bookmark:url}&title=${liferay:social-bookmark:title}
social.bookmark.post.url[digg]=http://digg.com/submit?phase=2&url=${liferay:social-bookmark:url}
social.bookmark.post.url[furl]=http://furl.net/storeIt.jsp?u=${liferay:social-bookmark:url}&t=${liferay:social-bookmark:title}
social.bookmark.post.url[newsvine]=http://www.newsvine.com/_tools/seed&save?u=${liferay:social-bookmark:url}&h=${liferay:social-bookmark:title}
social.bookmark.post.url[reddit]=http://reddit.com/submit?url=${liferay:social-bookmark:url}&title=${liferay:social-bookmark:title}
social.bookmark.post.url[technorati]=http://technorati.com/cosmos/search.html?url=${liferay:social-bookmark:url}
looks like it would be easy to add your own if you knew the url
Puj Z:
Hi Jitendra,
have you found a solution to your question? I am looking for the same thing.
Cheers
Hi,Puj Z
Yes I found the solution ...what you need to do is just made changes in portal-ext.properties file
social.bookmark.types=facebook,twitter
social.bookmark.post.url[facebook]=http://www.facebook.com/share.php?u=${liferay:social-bookmark:url}&t=${liferay:social-bookmark:title}
In social.bookmark.types property specify the different type of social networking site you want to support like facebook , twitter .
And below that in social.bookmark.post.url[facebook] you have to provide the format by which social networking site share the data . For facebook its U(url) and T(title) for other site it may differ..
Now it will work...........
Hi Jitendra,
first of all thanx for the hint...
Now i have a further question:
When the entry is posted to my facebook profile, there's an image shown... This image is not defined, or, to be more precise, the default facebook-image is shown. Do you know how i can change this? I'd like to use a custom image...
Thanx in advance, Matthias
first of all thanx for the hint...
Now i have a further question:
When the entry is posted to my facebook profile, there's an image shown... This image is not defined, or, to be more precise, the default facebook-image is shown. Do you know how i can change this? I'd like to use a custom image...
Thanx in advance, Matthias