How to get source link for blogs in liferay? - liferay-6

I have been using Liferay 6.2 BlogsEntryLocalServiceUtil API in order to access blog entries. These blogs are generated automatically once i enable Rss Feeds from liferay.
Using BlogsEntryModel as shown here i can access various properties like title, description, date etc. But i could not access the source link for each of the blog content as it is not availble in the blogsEntryModel. Is there any other way to access source link of blog contents generated from Rss feeds?
If you have any ideas, please let me know.

Related

Get restaurant menu from Page using Facebook Graph API

The problem is to get the link to menu from a Facebook official page of a restaurant.
Here is an example of such page: https://www.facebook.com/freshchoice.bb — there is a link to menu of the restaurant which leads to https://www.facebook.com/download/216155385221332/Facebook%20menu.pdf.
Actually, this link works well even if I remove the name of the file from it, and I understand, that 216155385221332 is an ID of some object. But how can I obtain this ID from the API?
I have already spent two days trying to find a solution for this task and have had no luck.
When I request data from Facebook Graph API, I get tons of information, and I can request any of the fields listed here: https://developers.facebook.com/docs/graph-api/reference/page but there is no 'menu', or 'downloads' field, and I have almost broke my brain trying to find out a way to solve this puzzle.
I don't think there's a way to reach this object if you didn't create it yourself.
There's the restaurant.menu OpenGraph object:
https://developers.facebook.com/docs/reference/opengraph/object-type/restaurant.menu/
but I think only the user who created it can access it programatically.
The page you're referring to probably just uploaded the menu via the Facebook website, and didn't create an OpenGraph object.
Se
https://www.facebook.com/help/533179700126832

Show facebook comments on site

Is it possible to mirror Facebook comments from my Facebook page on a post to my site using the comments plugin? I've been searching and cant really find anything regarding this subject. thanks
If all you need is to "mirror" that, then this is probably possible by using:
GET /{POST-ID}/comments?access_token=PAGE-ACCESS-TOKEN
However, if you are looking for a plugin, the nearest plugin for this is the Embedded Posts but that will only show the numbers of comments:
What do people see in Embedded Posts?
The embedded post will show any
media attached to it, as well as the number of likes, shares, and
comments that the post has. Embedding posts will let people using your
web site see the same rich information that is shown on Facebook.com,
and they will enable people to follow or like content authors or Pages
directly from the embed.

Facebook Like/Share (Mostly) not working on my Wordpress blog

Facebook LIKE/SHARE functions are generally not working on my wordpress blog. I cannot LIKE or SHARE any new posts, but oddly if I have already LIKED a page, the SHARE function works fine.
The problem with SHARE is that the normal sharing window pops up, but there is no metadata populated in it. I've looked at the metadata in my blog posts and as best I can tell it is populated correctly by Wordpress. Additionally, I cannot find any differences in the metadata or code between posts that I have previously LIKED and ones that I have have not.
I've tried running the FB debugger/linter for a number of posts on my site and each one returns the message:
Error Linting URL: An internal error occurred while linting the URL.
I've tried googling this error, but cannot find any useful advice on what might be causing it.
Here is a sample post for people to examine this problem:
http://erb.kingdomnow.org/michael-pollan-talks-about-his-new-book-cooked-video/
Thanks...
You should use Open Graph tags (see "Use proper Open Graph tags and large images to generate great previews" and "Using Self-Hosted Objects") in the header of your webpages to help Facebook determine what metadata needs to be shared.
Since you are using WordPress, you could either edit the template file in your theme that defines page headers (normally header.php) or use Facebook's official plugin.

Load comments from open graph object into Facebook comments social plugin

I have created a website connected my facebook app. Users can login and post a custom action connected to a custom object with open graph, javascript sdk. This will also post with 'fb:explicitly_shared' set to true so it will generate a post on the users timeline. So these custom objects have their own url and on those pages i want to have the comment plugin. And i want that object page (with the comments plugin) and the post on the users timeline to share comments.
I have tried setting a lot of different things in the "href"-property on the comments plugin but nothing seems to work. However i have managed to get the comments of the timeline post with a call to '/objectid/comments' with FB.api(). I can use that to build my own comments ui, but i rather use the comments social plugin. Is there any way to make it happen?
The Post ID and the Open Graph Object ID are different, so I do not believe that they can share comments. Comments are based off a single Facebook ID. Also, it is not currently possible to write comments to an Open Graph Object from the API (comments plugin only) so you can't really create your own comments plugin for an OG object.

how to get rss feeds for new products from magento on facebook?

i have enabled rss feeds from backend admin panel,
in frontend copy the url "www.mydomain.com/rss//catalog/new/store_id/1/" and paste it in facebook application graffiti to get feeds.
But what i get is the only one product feed even after adding more and more products.
I have searched alot for it but still with open hands for answer.
Thanks in advance.
I would like you to know that having the RSS Feed is not supported but the CSV is indeed supported. In the link: https://www.facebook.com/business/a/online-sales/dynamic-product-ads?__mref=message_bubble
it shows you how to create it with a sample of the CSV File.