Share post with image on facebook

5 posts, 1 answers
  1. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 23 Jul 2013 Link to this post

    Hello, 

    I'm now developing a product/promotion website and I want to post the promotion summary on facebook together with our main website url.
    By using RadSocialButtons from RadSocialShare control - 
    if SocialNetType="ShareOnTwitter", I can share a link together with some text that I defined in TitleToShare attribute.
    But if SocialNetType="ShareOnFacebook", I can only share a link that I defined in UrlToShare attribute.

    Is there a way to write something when sharing on facebook? (I want to autofill some text in "Write Something" textbox of facebook popup)
    I also want to include promotion photo.

    Or is there any other way to achieve this?

    Thanks in advanced.
    Robin
  2. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 26 Jul 2013 Link to this post

    Hi Robin,

    The RadSocialShare's ShareOnFacebook button is a Styled Button so that it utilizes the public API that Facebook provides. This API, however, does not let you explicitly set the comment, but only the URL which will be shared. You can verify that on Facebook's Share Dialog page.


    Regards,
    Danail Vasilev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 26 Jul 2013 Link to this post

    Thanks for the reply, Danail.
    So, I cannot use RadSocialShare control for this case.
    Then, I need to explore and hopefully there would be some facebook api that allow posting on facebook.
  5. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 31 Jul 2013 Link to this post

    Hi Robin,

    Should you find any update on Facebook's API that can be implemented by RadSocialShare, do not hesitate to share it with us. This will help us to improve the functionality in RadControls suite and we will be glad to update your Telerik points in turn.

    You can also log any ideas, that you consider to be useful in our feedback portal.

    Regards,
    Danail Vasilev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. Robin
    Robin avatar
    41 posts
    Member since:
    Sep 2012

    Posted 31 Jul 2013 Link to this post


    I'm sure I'll share when I found something useful for this case.

    Regards, 
    Robin
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017