Out of the box Social Connected module has 5 social networks you can use: Facebook, LinkedIn, Google, Twitter and Social Marketer. I am not familiar with the fifth one so I decided to experiment with the first 4. Here is the summary of my success/failures/findings.
Facebook. Login was straightforward to implement out of the box. See my earlier blog for details. Posting goal messages to a FB timeline is not available unless publish_actions permission is requested by the app. In order to obtain this one has to submit the app for approval and that involves completing more steps than I wanted to because the main advantages of the Social module are:
1. Easy registration process
2. Obtaining wealth of personal information from Facebook for personalization on the site
I have those two at my disposal and decided to stop right there.
Twitter. Did not get the Login to work. I suspect (have not confirmed yet) that it's related to fact that the url is local. See notes on Google several lines down. I have a feeling they are related.
LinkedIn. Login functionality was a snap. Getting personal data. Nice and easy.
Google does not allow local urls for login. Rules are rules. Nothing I can do.
Daily discoveries, observations, frustrations, aha moments in a life of a .Net/Sitecore developer. Read at your own risk.
Showing posts with label Social Connected. Show all posts
Showing posts with label Social Connected. Show all posts
Wednesday, November 5, 2014
Tuesday, October 28, 2014
Privacy, please. Social Connected Module: Facebook.
After a relatively easy ride with Facebook login I encountered some challenges getting Social Connected to post messages to my test FB account's timeline when a DMS goal has been achieved. In addition to Sitecore documentation on the module I used Dan Solovay's blog http://www.dansolovay.com/2012/09/a-look-at-sitecore-social-connected.html and various other blogs I could find by googling the topic.
The first thing that cought my eye once I attempted to log with with Facebook the first time was this message at the bottom of the authorization popup:
But that is EXACTLY what I wanted to do! Post to Facebook. I proceeded with authorization anyway to see if the login works as expected. And it does. No problems there.
Next step was to make a goal with a message that would get posted to my FB account once the goal is achieved. I could see that the goal was being achieved but no message was added to the wall. I poured over Facebook documentation and found this interesting bit of information on a permission called "
https://developers.facebook.com/docs/facebook-login/permissions/v2.1
"Your app can ask for additional permissions at any time, even after a person logs in for the first time. For example, the
Is this what I am missing? I went to my app's settings to add this permission
And that required a whole new set of tasks I had to do on my app. One of them was adding a Privacy Policy URL. I made one up /privacy but it got rejected.
I can't believe I really need this but at this point it feels like I do. How is FB going to verify a privacy page on a local site? There's no way. I have to use something else.
To be continued...
The first thing that cought my eye once I attempted to log with with Facebook the first time was this message at the bottom of the authorization popup:
But that is EXACTLY what I wanted to do! Post to Facebook. I proceeded with authorization anyway to see if the login works as expected. And it does. No problems there.
Next step was to make a goal with a message that would get posted to my FB account once the goal is achieved. I could see that the goal was being achieved but no message was added to the wall. I poured over Facebook documentation and found this interesting bit of information on a permission called "
publish_actions " at this location:https://developers.facebook.com/docs/facebook-login/permissions/v2.1
"Your app can ask for additional permissions at any time, even after a person logs in for the first time. For example, the
publish_actions permission lets you post to a person's Facebook Timeline. "Is this what I am missing? I went to my app's settings to add this permission
And that required a whole new set of tasks I had to do on my app. One of them was adding a Privacy Policy URL. I made one up /privacy but it got rejected.
I can't believe I really need this but at this point it feels like I do. How is FB going to verify a privacy page on a local site? There's no way. I have to use something else.
To be continued...
Monday, October 27, 2014
Let's get Social. Social Connected Module 2.1
Today I have been playing with Social Connected Module 2.1 (http://sdn.sitecore.net/Products/Social%20Connected%20Module/Social%20Connected%202,-d-,1.aspx)
First thing I noticed is that I had to install the module manually even though I remember that I selected Social Connected as an optional install during local Sitecore instance installation process through SIM. Then when I was installing the module manually I kept getting this error
I found out later that Sitecore 7.2 is does not work with Social Connected. There is a workaround however. A couple of config file tweaks and we are good to go.
https://kb.sitecore.net/articles/715286
I decided to start with a Facebook. Made an app, just like the documentation prescribes, but noticed that the console in Facebook for app settings looks different from what they show in the doc. I entered by basic App info but was getting an error about app domain. This is how I fixed it:
In Settings > Basic I clicked Add Platform, chose Web Site and entered my site's domain. After that I repeated it in the App Domains field in the same Settings > Basic area. Saved my changes.
Then I added a Facebook button to my page (following instructions) and was able to log in with my FB credentials. What happens upon logging in are two things:
1. A record in a table gets created for me as a user
2. A sitecore user is created as well in User Manager
To make an app public the email address was mandatory in the app's Settings section.
Subscribe to:
Posts (Atom)






