summaryrefslogtreecommitdiff
path: root/views/settings.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2014-12-26 14:57:31 -0800
committerAaron Parecki <aaron@parecki.com>2014-12-26 14:57:31 -0800
commit8be498a324954f9d5792ca921b7364f53ff4085f (patch)
treec0bec4dc8a617ab949903e63c18594e7b34b99f9 /views/settings.php
parent430609b9005bb93ce2c6b21405cea0ede2b17a9d (diff)
new "favorite" form with bookmarklet
* disable facebook liking for now since it was getting complicated * new page for creating a favorite, can pass in a URL parameter too * bookmarklet code added to the "favorite" page
Diffstat (limited to 'views/settings.php')
-rw-r--r--views/settings.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/settings.php b/views/settings.php
index 9860a91..831528d 100644
--- a/views/settings.php
+++ b/views/settings.php
@@ -4,8 +4,10 @@
<h2>Signed In As</h2>
<code><?= session('me') ?></code>
+ <!--
<h3>Facebook</h3>
<input type="button" id="facebook-button" value="Checking" class="btn">
+ -->
<h3>Twitter</h3>
<input type="button" id="twitter-button" value="Checking" class="btn">
@@ -15,6 +17,7 @@
</div>
<script>
+/*
window.quillFbInit = function() {
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
@@ -55,11 +58,14 @@ function save_facebook_token(token) {
$("#facebook-button").val("Connected").addClass("btn-success");
});
}
+*/
$(function(){
+ /*
$("#facebook-button").click(function(){
- FB.login(window.quillHandleFbLogin, {scope:'publish_actions'});
+ FB.login(window.quillHandleFbLogin, {scope:'publish_actions,user_likes'});
});
+ */
$.getJSON("/auth/twitter", function(data){
// Check if we're already authorized with twitter