about summary refs log tree commit diff
path: root/src/components/FacebookFeed.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-29 17:22:33 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-29 17:22:33 +0200
commitbb766f402ba89d0abf2bc424e32e5338ddd2ebdc (patch)
tree7f687504dc2337b1fc65550a47f44af2d6470bda /src/components/FacebookFeed.vue
parent6e60a0fbacc58b07bc6a0487458ae2af6914fe95 (diff)
downloadpuszcza-bb766f402ba89d0abf2bc424e32e5338ddd2ebdc.tar.gz
puszcza-bb766f402ba89d0abf2bc424e32e5338ddd2ebdc.zip
Fix layout
Diffstat (limited to 'src/components/FacebookFeed.vue')
-rw-r--r--src/components/FacebookFeed.vue18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/components/FacebookFeed.vue b/src/components/FacebookFeed.vue
index e405270..9d2d251 100644
--- a/src/components/FacebookFeed.vue
+++ b/src/components/FacebookFeed.vue
@@ -1,6 +1,6 @@
 <template>
   <section class="feed">
-    <h1>Ostatnie wpisy</h1>
+    <h1>Zobacz co się dzieje!</h1>
     <FacebookFindUsButton />
   </section>
 </template>
@@ -14,22 +14,6 @@ export default {
   },
   props: {
     pageId: String
-  },
-  created() {
-    window.fbAsyncInit = function() {
-      FB.init({
-        appId: "702203580219306",
-        autoLogAppEvents: true,
-        xfbml: true,
-        version: "v4.0"
-      });
-
-      FB.api(`/${this.pageId}/feed`, function(response) {
-        if (response && !response.error) {
-          console.log(response);
-        }
-      });
-    };
   }
 };
 </script>