Skip to content

Proxy web service to get Facebook page posts from browser JavaScript

Notifications You must be signed in to change notification settings

readfwd/fb-json-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a proxy web service for Facebook pages JSON. It was created because:

  • Facebook does not allow cross domain JSON browser requests
  • Facebook does not allow OpenGraph API without login
  • Facebook does not allow wget / curl direct requests

Sample use

Get: http://localhost:8080/v1.0/macovei-fb-proxy.json

Config

  • REFRESH_INTERVAL defaults to 120 (2 minutes);
  • FB_PAGE_ID defaults to '1444537399159513' (MonicaMacoveiUE page on Facebook)
  • USER_AGENT defaults to 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36';

About

Proxy web service to get Facebook page posts from browser JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published