about summary refs log tree commit diff
path: root/src/components/FacebookFeed.vue
diff options
context:
space:
mode:
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>