Login with FacebookCancel

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.

I noticed that Sitefinity comes packaged with the Facebook C# SDK 4.0.2. I want to implement a "Login with Facebook" button that is integrated with Sitefinity but I have run into several problems. Is there a sample project that already has this functionality built in that I can reference?

In the absence of a sample project, I would like to upgrade the SDK to the latest version. I have been able to successfully create Login With Facebook functionality (not integrated with Sitefinity, but with plain old ASP.NET) with the recent SDKs but 4.0.2 does not seem to work. However, when I update the DLLs, Sitefinity throws an error - something about not being able to find a particular type. I assume that it is looking for a class from 4.0.2 that no longer exists anymore. So, in the absence of a sample project running on 4.0.2, has anyone had success with upgrading the SDK to a newer version?

We don't have a built-in Facebook connector, and we haven't planned time for it. If there are a lot of customers requesting that, the Sitefinity team might change the priority of the features planned for Q2 and squeeze that it.

Currently in The Charity starter kit for Sitefinity there is a implementation of social media widgets including Facebook, Twitter & Flickr the widgets display feeds from those sites.

All the best,
Stanislav Velikov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

The currently used dll`s re version 4.0.2. Changing them should only affect your facebook widget implementations and their communication with Sitefinity. However please make the changes at a test project to avoid problems.

Please write back if you need further help.

Kind regards,
Stanislav Velikov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Unfortunately, changing the DLLs affect more than just my widget implementation. In fact, changing them crashes the entire site. See my error below. I am a little confused why Sitefinity would be tightly coupled to this Facebook C# SDK version when it doesnt even make use of it.

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.

Exception Details: System.Reflection.ReflectionTypeLoadException:
Unable to load one or more of the requested types. Retrieve the
LoaderExceptions property for more information.

Source Error:

An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Sorry for misleading you. Sitefinity really needs Facebook.Web.dll with its current version to operate. Facebook connector is available for Sitefinity 3.7 and Sitefinity 4 currently don`t have all features of 3.7 available. We are adding them with each release.

All the best,
Stanislav Velikov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Roberto, I managed to get this to work by downloading the source code for the FB SDK v4.2, changing the assembly information to "4.0.2" and recompiling it in Visual Studio. In essence, I was tricking Sitefinity to use a newer version. This worked for a while, but not anymore. The FB SDK is so far from what it used to be at v4.0.2 that Facebook integration with Sitefinity v4 just isn't possible anymore. A Telerik rep said that they are planning on fixing this but I haven't noticed it make it into a release version yet.

We are needing login w/ facebook functionality in a sitefinity custom module. Is this something that will help? http://www.sitefinity.com/devnet/marketplace/publishers/falafel-software-inc/sitefinity-connector-for-facebook

I've done it in a dnn module w/ the fb javascript sdk, but haven't made the tie back to the server side that way.

When implementing
the External STS with Sitefinity CMS on the project, the platform shows a
message that says that the file OAuthLoginForm.ascx. does not exist. I would
like to know if I need to change the file path or if I have a Project version
that is not the correct one. This is the link I used to download the
project:https://github.com/Sitefinity/Sitefinity-External-STS-Integration.

This is the link
with my project:
https://www.wetransfer.com/downloads/7cc7de111ebc90aae9c696e3ed4f46cb20160105225926/ad28416946a6911301fbdd252912bfd820160105225926/d131ad

When implementing the External STS with Sitefinity CMS on the project, the platform shows a message that says that the file OAuthLoginForm.ascx. does not exist. I would like to know if I need to change the file path or if I have a Project version that is not the correct one. This is the link I used to download the project:https://github.com/Sitefinity/Sitefinity-External-STS-Integration.

This is the link with my project: https://www.wetransfer.com/downloads/7cc7de111ebc90aae9c696e3ed4f46cb20160105225926/ad28416946a6911301fbdd252912bfd820160105225926/d131ad

When implementing the External STS with Sitefinity CMS on the project, the platform shows a message that says that the file OAuthLoginForm.ascx. does not exist. I would like to know if I need to change the file path or if I have a Project version that is not the correct one. This is the link I used to download the project:https://github.com/Sitefinity/Sitefinity-External-STS-Integration.

This is the link with my project: https://www.wetransfer.com/downloads/7cc7de111ebc90aae9c696e3ed4f46cb20160105225926/ad28416946a6911301fbdd252912bfd820160105225926/d131ad

When implementing the External STS with Sitefinity CMS on the project, the platform shows a message that says that the file OAuthLoginForm.ascx. does not exist. I would like to know if I need to change the file path or if I have a Project version that is not the correct one. This is the link I used to download the project:https://github.com/Sitefinity/Sitefinity-External-STS-Integration.

This is the link with my project: https://www.wetransfer.com/downloads/7cc7de111ebc90aae9c696e3ed4f46cb20160105225926/ad28416946a6911301fbdd252912bfd820160105225926/d131ad

When implementing the External STS with Sitefinity CMS on the project, the platform shows a message that says that the file OAuthLoginForm.ascx. does not exist. I would like to know if I need to change the file path or if I have a Project version that is not the correct one. This is the link I used to download the project:https://github.com/Sitefinity/Sitefinity-External-STS-Integration.

This is the link with my project: https://www.wetransfer.com/downloads/7cc7de111ebc90aae9c696e3ed4f46cb20160105225926/ad28416946a6911301fbdd252912bfd820160105225926/d131ad

Tools

Sitefinity Professional Services

Progress, Telerik, Sitefinity and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.