Skip to content

Instantly share code, notes, and snippets.

View andreaangeli's full-sized avatar

andreaangeli

View GitHub Profile
@andreaangeli
andreaangeli / fb-page-access-token-no-expire
Created June 16, 2016 14:09 — forked from lucnap/fb-page-access-token-no-expire
How to get a Facebook Page Access Token that doesn't expire Never!
How to get a Facebook Page Access Token that doesn't expire Never!
- Go to http://developers.facebook.com/tools/explorer/
- Get a User Access Token with a permission "manage_pages"
- Convert this short-lived access token into a long-lived one by making this Graph API call:
https://graph.facebook.com/v2.6/oauth/access_token?client_id=<your FB App ID >&client_secret=<your FB App secret>&grant_type=fb_exchange_token&fb_exchange_token=<your short-lived access token>
- Make a call Graph API:
https://graph.facebook.com/v2.6/<your personal account FB user id>/accounts?access_token=<your long-lived access token>
- The returned access_token has no expiration unless you change your password or not more admin of the target page or deauthorize FB page
@andreaangeli
andreaangeli / nicar15-bootstrap.md
Created March 1, 2017 23:21 — forked from ebigalee/nicar15-bootstrap.md
NICAR 2015: Bootstrap: Responsive, mobile-first framework

#NICAR 2015: Twitter Bootstrap Responsive, mobile-first HTML, CSS, JS framework

One of the most supported, popular and feature-filled ways to get started building a website is to use Twitter Bootstrap. Bootstrap is a responsive, mobile-first HTML, CSS, & JS framework. Know what those three terms (responsive, mobile-first and framework) mean? If not, take a moment to look them up.

NICAR 2015 • March 7th • 2:10PM - 3:10PM
http://slides.com/ebigalee/nicar-2015-bootstrap

###What you will need today: