Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@adomrockie
adomrockie / CaptureFaceBookReaction.html
Created November 10, 2016 23:37 — forked from anburocky3/CaptureFaceBookReaction.html
Counts Facebook Reactions with Token and display in web page.
<!--
How to use:
1.Create a facebook application here https://developers.facebook.com/apps/
- Open https://developers.facebook.com/tools/explorer , select your Application , select your FB Page, and copy access token :
This is called as the short lived access token, and will be valid for 30min or 1 hour
- Then open https://graph.facebook.com/oauth/ac...=<app_secret>&fb_exchange_token=<short_token> (replace the values correctly) .
This will give out another access token. Copy that token correctly from the response. It will be something like:
@adomrockie
adomrockie / index.html
Created November 10, 2016 23:33 — forked from anonymous/index.html
Capture FB Reactions count and show them on webpage
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My FB Reactions Page</title>
<style>
html {
box-sizing: border-box;
width: 100%;