Skip to content

Commit

Permalink
Merge branch 'master' of github.com:thenbrent/social-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbrent committed Oct 27, 2011
2 parents dbc0a9e + f148766 commit 550fefd
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions twitter/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@
<head>
<script>
function init() {
window.opener.wp_social_connect({'action' : 'social_connect', 'social_connect_provider' : 'twitter',
'social_connect_signature' : '<?php echo $signature ?>',
'social_connect_twitter_identity' : '<?php echo $twitter_id ?>',
'social_connect_screen_name' : '<?php echo $screen_name ?>',
'social_connect_name' : '<?php echo $name ?>'});

window.close();
window.opener.wp_social_connect({
'action' : 'social_connect',
'social_connect_provider' : 'twitter',
'social_connect_signature' : '<?php echo $signature ?>',
'social_connect_twitter_identity' : '<?php echo $twitter_id ?>',
'social_connect_screen_name' : '<?php echo $screen_name ?>',
'social_connect_name' : '<?php echo $name ?>'
});

window.close();
}
</script>
</head>
Expand Down

0 comments on commit 550fefd

Please sign in to comment.