Permalink
Browse files

debug auth sequence

  • Loading branch information...
1 parent 8629a40 commit 3498f5ac18caa85323f14d4ad73a268ee7f84531 @robrighter committed Apr 24, 2010
Showing with 2 additions and 0 deletions.
  1. +1 −0 prod-buildout/js/site.js
  2. +1 −0 static/js/site.js
View
@@ -25,6 +25,7 @@ var setProfile = function(user){
var unfollow = function(screenname,callback){
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
console.log(data);
if(data.error){
console.log('The user is NOT authenticated');
View
@@ -25,6 +25,7 @@ var setProfile = function(user){
var unfollow = function(screenname,callback){
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
+ window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
console.log(data);
if(data.error){
console.log('The user is NOT authenticated');

0 comments on commit 3498f5a

Please sign in to comment.