MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Enable and Configure Facebook Social Login in MonoX.  (Mono Support )

Viewed 7019 time(s), 4 post(s) 10/29/2015 4:01:44 AMby kriegzmarine
kriegzmarine

kriegzmarine

10/29/2015 4:01:48 AM

Good day,

I am new to MonoX and Web App development. I install MonoX and works great! I admire MonoX instantly.

But when I tried to enable the Facebook Social Login, I am getting some errors. My head is aching whilst I'm typing this actually. Hehe.

Can someone tell me how to properly enable Facebook Social Login in MonoX. I am also confused in the Facebook side, there's a lot of settings in the facebook app.

Can someone tell me the step by step instructions on how to setup the facebook app and connect it to the Facebook Social Login in Monox.

Please advise.

This content has not been rated yet. 
35 Reputation 2 Total posts
iruzak

iruzak

10/29/2015 6:52:04 AM
Hi kriegzmarine,
first thing you need to do is create new application on https://developers.facebook.com/. You copy App ID and App Secret and paste it as ConsumerKey and ConsumerSecret to FacebookWrapper in MonoX web.config file. After that you need to tell Facebook where your MonoX site is hosted and add that to App Domains. Lastly you can set AdditionalScopes but there shouldn't be any problem because "email", "public_profile" and "user_friends" are enabled by default.
This content has not been rated yet. 
443 Reputation 50 Total posts
kriegzmarine

kriegzmarine

11/6/2015 5:15:06 AM
thanks for answering my question izurak. I've done it already and I also put the Facebook sdk in monox. but I get errors, it says monox cant connect to facebook and I also get errors about read_stream and publish_stream. Maybe I over do it. I will try to remove the fb sdk then try it and I will post again the result.
This content has not been rated yet. 
35 Reputation 2 Total posts
dbogdan

dbogdan

11/6/2015 9:24:53 AM
Hi kriegzmarine,

Facebook has been redesigned permission system in the past few versions, you should take into account what API version your Facebook App uses. In respect of that you should set permissions, please refer to the Facebook's Api documentation.

Feel free to get back to us if you are having some other issues related to the MonoX, we will gladly help you.

Regards,
Darjan
This content has not been rated yet. 
231 Reputation 38 Total posts