brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-09T22:44:58Z
Trying login with Twitter, but receive error when returning to forum.
(the email ' A new user has registered on the forum' is generated ok).



Server Error in '/Forum' Application.


The remote server returned an error: (401) Unauthorized.
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.Net.WebException: The remote server returned an error: (401) Unauthorized.

Source Error:


Line 370: finally
Line 371: {
Line 372: webRequest.GetResponse().GetResponseStream().Close();
Line 373:
Line 374: if (responseReader != null)


Source File: D:\OurWorld\SoftwareInstalls\YAF\YAF-v1.9.6.1-RTW-SRC\YAF.Core\Services\Twitter\OAuthTwitter.cs Line: 372
Sponsor
tha_watcha
2012-07-09T22:59:44Z
Take a look at the application settings of your twitter app under Application type, it needs to be set to "Read and Write"

I updated the documentation to include this important information
UserPostedImage
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2012-07-10T07:38:47Z
Zero2Cool
2013-02-20T01:11:55Z
Originally Posted by: tha_watcha 

Take a look at the application settings of your twitter app under Application type, it needs to be set to "Read and Write"

I updated the documentation to include this important information



"Permissions: read and write" and I'm getting the following error when users try to sign in. However, this error comes and goes. Currently, I have disabled it to allow myself to log into my site.

tha_watcha
2013-03-10T08:55:29Z
Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

Take a look at the application settings of your twitter app under Application type, it needs to be set to "Read and Write"

I updated the documentation to include this important information



"Permissions: read and write" and I'm getting the following error when users try to sign in. However, this error comes and goes. Currently, I have disabled it to allow myself to log into my site.



Please disable twitter login. turns out the api urls have changed.

I committed the changed files to the repository...

http://yafnet.codeplex.c...l/changeset/0cc0486d9c24 

If you able to compile the source code you can fix this yourself otherwise you have to wait for the next version.


UserPostedImage
Trickstar
2013-06-13T22:33:26Z
Originally Posted by: tha_watcha 

Originally Posted by: Zero2Cool 

Originally Posted by: tha_watcha 

Take a look at the application settings of your twitter app under Application type, it needs to be set to "Read and Write"

I updated the documentation to include this important information



"Permissions: read and write" and I'm getting the following error when users try to sign in. However, this error comes and goes. Currently, I have disabled it to allow myself to log into my site.



Please disable twitter login. turns out the api urls have changed.

I committed the changed files to the repository...

http://yafnet.codeplex.c...l/changeset/0cc0486d9c24 

If you able to compile the source code you can fix this yourself otherwise you have to wait for the next version.



Could you post the fixed YAF.Core.dll and YAF.Core.xml with just these changes please? I have fully developed site and have had to restart it and I don't want to have to start it again. It would be really appreciated if you could do this.
metta123
2013-06-19T09:50:50Z
Have you resolved this? In fact does anyone have a YAF forum that currently has the log in with twitter feature which is fully working? If so I would love to hear from you. I have the dlls if you still need them as I have changed the urls and compiled the project.
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2013-06-19T10:01:56Z
Originally Posted by: metta123 

Have you resolved this? In fact does anyone have a YAF forum that currently has the log in with twitter feature which is fully working? If so I would love to hear from you. I have the dlls if you still need them as I have changed the urls and compiled the project.



I think now I am using the DNN version this does not apply to me - but having said that I would love to know if the DNN 'Register with Twitter' actually works ..! Please feel free to try it out - I will remove any account after test if you wish..


Register option - top left
http://leansoftware.net/ 

Cheers
metta123
2013-06-19T10:20:34Z
I have just tried to login with my twitter credentials and it raises a critical error. Your Facebook is fine. I'm now registered. They recently made changes to their .api and replaced the old version. This might be where the issue is. You should maybe switch on errors to get the right error code. Mine just doesn't register the user at all. Its probably just a setting in Twitter dev.

Don't you still need to change the URLS and compile the DNN version of YAF? Where can you download the DNN version of YAF with the full source. I could download it all and have a look. Though Im no expert with YAF, and never looked at the DNN version or any other CMS YAF software.

I like your site. Its very good. I like the YAF integration.
tha_watcha
2013-06-19T11:32:02Z
Currently no Twitter Login via YAF should work because the 1.0 Twitter API no longer works. It will take some time until i can resolve this problem and migrate to 1.1
UserPostedImage
metta123
2013-06-19T11:41:56Z
Thanks for the response. That is exactly what I needed to know.
brigzy
  •  brigzy
  • 66.2% (Friendly)
  • YAF Commander Topic Starter
2013-06-19T11:43:41Z
Originally Posted by: metta123 

I have just tried to login with my twitter credentials and it raises a critical error. Your Facebook is fine. I'm now registered. They recently made changes to their .api and replaced the old version. This might be where the issue is. You should maybe switch on errors to get the right error code. Mine just doesn't register the user at all. Its probably just a setting in Twitter dev.



Thanks, I have posted the problem on the DNN community forum, maybe they can help, I will post any discovery back here.

Originally Posted by: metta123 

Don't you still need to change the URLS and compile the DNN version of YAF? Where can you download the DNN version of YAF with the full source. I could download it all and have a look. Though Im no expert with YAF, and never looked at the DNN version or any other CMS YAF software.



I don't recall rebuilding YAF - but I might have - the DLL dates are 14/7/2012 .

Originally Posted by: metta123 

I like your site. Its very good. I like the YAF integration.



Thanks - hats off to the YAF guys really.
Currenty working on the online help for EDT so you should see lots of new pages and and examples appearing ...


F.Y.I The help desk is a modified version of ADefHelpDesk , supplied with source code so was easy enough for me to adapt. Primarily I wanted Public and Private help tickets.

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