zXSwordXz
  •  zXSwordXz
  • 62.2% (Friendly)
  • YAF Camper Topic Starter
2014-08-12T19:30:25Z
So I've decided to setup the Facebook and Twitter Login and Register integration but having major issues. This is what I've done:
1) Register for Facebook and Twitter Apps
2) Modify the app.config add the APIKey and SecretKey for facebook and TwitterConsumerKey and Secret.
3) Enable Single Sign On in the Host Setting
4) Modify the login.ascx and set the PlaceHolder for Facebook and Twitter Visible="True".
5) Modify the register.ascx and set the LinkButton for facebook and twitter Visible="True".

If I click on login and then click on "Login with Facebook" or twitter..Nothing happens.
If I click on Register and then click on "Register with Facebook or twitter...It take me to the login screen.
Is there something I'm missing or doing wrong? BTW..I don't want to used google integration.

Anthony
Sponsor
zXSwordXz
  •  zXSwordXz
  • 62.2% (Friendly)
  • YAF Camper Topic Starter
2014-08-13T02:13:23Z
Never mind...I figure out my mistake. I over sight the comment flag in the app.config file. No need to edit login.ascx and register.ascx.
kagaw3000
2014-09-27T15:32:50Z
Sir i have the same problem as yours.

What comment or flag in app.config? because i cannot find it my app.config that relates to SSO.

I have already setup this:
1) Register for Facebook and Twitter Apps
2) Modify the app.config add the APIKey and SecretKey for facebook and TwitterConsumerKey and Secret.
3) Enable Single Sign On in the Host Setting
zXSwordXz
  •  zXSwordXz
  • 62.2% (Friendly)
  • YAF Camper Topic Starter
2014-09-28T01:31:29Z
Hi kagaw3000,

Open the app.config file and look for the below script which control the facebook Single Sign. Move the closing comment tag which I've highlighted below the word "Application" <!-- This is a comment -->. Do the same for twitter and google(depending which one's you need).

[<!--
******************************************************************
** Optional Facebook Single Sign On Feature

To turn on that Feature you need to have an Facebook Developer
Application

<add key="YAF.FacebookAPIKey" value="XXXX" />
<add key="YAF.FacebookSecretKey" value="XXXX" />
-->

This is what your new script show look like:
<!--
******************************************************************
** Optional Facebook Single Sign On Feature

To turn on that Feature you need to have an Facebook Developer
Application
-->
<add key="YAF.FacebookAPIKey" value="XXXX" />
<add key="YAF.FacebookSecretKey" value="XXXX" />
brewhaus
2015-01-05T16:44:35Z
We are trying to get the FB and Twitter integration working. When we try to complete the app settings on FB we get the following error:

<script type='text/javascript'> alert('Could not find a part of the path 'E:\Websites\Brewhaus Forum\resources\'.');window.location.href = '/default.aspx?g=login';window.close(); </script>

Can someone please help with this?
s3b4k
  •  s3b4k
  • 59.6% (Neutral)
  • YAF Camper
2015-01-06T23:09:55Z
Originally Posted by: brewhaus 

We are trying to get the FB and Twitter integration working. When we try to complete the app settings on FB we get the following error:

<script type='text/javascript'> alert('Could not find a part of the path 'E:\Websites\Brewhaus Forum\resources\'.');window.location.href = '/default.aspx?g=login';window.close(); </script>

Can someone please help with this?



are you getting that as a server side or client side error?
the signature
tha_watcha
2015-01-07T06:11:29Z
Originally Posted by: brewhaus 

We are trying to get the FB and Twitter integration working. When we try to complete the app settings on FB we get the following error:

<script type='text/javascript'> alert('Could not find a part of the path 'E:\Websites\Brewhaus Forum\resources\'.');window.location.href = '/default.aspx?g=login';window.close(); </script>

Can someone please help with this?



Can you post the full error message from the yaf event log?
UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved