Facebook autopost - using link and picture parameters

Jan Mudrák asked on March 9, 2015 15:19

Hi, is there a way to user Facebook autopost parameters such as "link" and "picture"? As far as I know, Kentico uses only "message" parameter and it is quite difficult to post nice comments this way.

Thanks in advance.

Correct Answer

Jan Mudrák answered on March 16, 2015 20:30

I can now only confirm what I wrote earlier. It is possible, but you have to customize Facebook C# SDK library to send other parameters as well.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on March 9, 2015 16:01

Check out Joel Dahlin's post on this topic!

0 votesVote for this answer Mark as a Correct answer

Jan Mudrák answered on March 9, 2015 16:27

Thank you, Brenden. Unfortunately, the topic covers other feature.

I have page that already has all these meta tags. I cannot get Kentico to publish other parameters than "message". And since there is no "link" parameter is specified, all meta tags on the target page are ignored...

0 votesVote for this answer Mark as a Correct answer

Jan Mudrák answered on March 9, 2015 17:12 (last edited on March 9, 2015 17:14)

Well, now I am pretty sure it can't be done without customization. Kentico uses Facebook C# SDK from the The Outercurve Foundation. In the source code of SDK (FacebookClient) is used only "message" parameter...

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on March 9, 2015 19:03

Not sure I'm understanding your whole issue. It appears the link I posted will allow you to publish those links and other metadata to your page template and then allows facebook to come to the site and capture them when you are posting. The autopost feature simply sends the post to facebook and facebook will capture the rest of the data based on whats on the page markup. Maybe I'm misunderstanding how it all works or what you're looking for.

0 votesVote for this answer Mark as a Correct answer

Jan Mudrák answered on March 9, 2015 19:19

I think you get it quite right with one exception: The autopost feature sends some text (in "message" parameter of facebook API) to facebook. Usually text contains link to the post (via {%AbsoluteUrl%} macro). But facebook will only convert this URL to hyperlink in body of a post and will not process it.

You have to send URL in "link" parameter of facebook API in order to make facebook process it. And this parameter isn't accessible in Kentico, since underlying SDK doesn't support it.

0 votesVote for this answer Mark as a Correct answer

Eka Milyanda answered on August 25, 2016 14:39

Hi Support team,

Our team is facing the same problem with Jan. I have asked facebook team bout this issue and they thought this came from Kentico. Please visit this (https://developers.facebook.com/bugs/1788117871431404)to see the details. Would you provide URL in "link" parameter of facebook API like Jan said before?

Thanks in advance

0 votesVote for this answer Mark as a Correct answer

cathy anna answered on December 6, 2017 12:43

I think we all have an account on social networking sites like face book, twitter etc. I have an account on that and I am an active member o face book. Here it describes about Face book auto post using link and picture parameters. I am not familiar with this and thank you for providing the details here.best bride event planners website

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.