This is a migrated thread and some comments may be shown as answers.

error with facebook

4 Answers 69 Views
SocialShare
This is a migrated thread and some comments may be shown as answers.
moegal
Top achievements
Rank 1
moegal asked on 03 Apr 2013, 10:59 PM
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().

4 Answers, 1 is accepted

Sort by
0
Accepted
Stamo Gochev
Telerik team
answered on 08 Apr 2013, 08:40 AM
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.
0
moegal
Top achievements
Rank 1
answered on 09 Apr 2013, 09:59 AM
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?
0
Accepted
Danail Vasilev
Telerik team
answered on 10 Apr 2013, 09:55 AM
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.
0
moegal
Top achievements
Rank 1
answered on 10 Apr 2013, 01:58 PM
Thank you.
Tags
SocialShare
Asked by
moegal
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
moegal
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or