error with facebook

5 posts, 2 answers
  1. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 03 Apr 2013 Link to this post

    I am getting the following error.

    ########################## # The endpoint used to load this resource has been deprecated. # Please update to the current Facebook JavaScript SDK. # https://developers.facebook.com/docs/reference/javascript/ ########################## FB.Share:52
    The "fb-root" div has not been created, auto-creating FB.Share:52
    FB.getLoginStatus() called before calling FB.init().
  2. Answer
    Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 08 Apr 2013 Link to this post

    Hi Marty,

    It seems that you are using the standard Facebook Share button in your application. If this is the case, this type of button has been officially deprecated by Facebook in favor of the Like button since July 2012.  You can have a look at the article, which explains this on their official site http://developers.facebook.com/docs/reference/plugins/like/ (the exact section is "What happened to the old Share button").

    As we rely on external scripts from Facebook to create the Share button we have no control over this functionality and whether Facebook will completely remove this button in the future (in which case we will be forced to remove it as well)  or it will remain deprecated. 

    My advice is to use our styled Facebook button (for the full list of styled buttons, you can visit http://www.telerik.com/help/aspnet-ajax/socialshare-styled-buttons.html)  or the standard Recommend/Like button. This will ensure that you won't get these warning messages in your application.

    Greetings,
    Stamo Gochev
    the Telerik team
    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 their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 09 Apr 2013 Link to this post

    I used the example from the website as a base. You may want to update the demos.

    Marty

    PS: I do not see the error when I run any of the Telerik online demos?  Why is that?
  5. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 10 Apr 2013 Link to this post

    Hello Marty,

    Thank you for your suggestion.

    We will update our online demos as well as the documentation with the deprecated status of FacebookShare button.

    Regarding the error message it shows in our demos as well. You can watch a short video with the test here. As my colleague has already said in the previous post, facebook standard buttons rely entirely on external scripts from facebook network and therefore we do not have much control over them. It might be possible that the share button is not properly loaded on the page, so that the error message is not displayed neither.

    Regards,
    Danail Vasilev
    the Telerik team
    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 their blog feed now.
  6. moegal
    moegal avatar
    273 posts
    Member since:
    Jul 2007

    Posted 10 Apr 2013 Link to this post

    Thank you.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017