pavelk2 / social-feed

JavaScript plugin that shows a user feed from the most popular social networks
http://pavelk2.github.io/social-feed-example/
MIT License
962 stars 304 forks source link

Facebook issue #266

Open ss4ui opened 7 years ago

ss4ui commented 7 years ago

I have setup the facebook access token like as 'appID|secretkey'. But we are getting confused by setting accounts. for ex: my account name is xyz then we have to give accounts like as ['xyz']. is this correct?

HartLarsson commented 7 years ago

first of all accounts as personal pages not working only Pages works.

taken from the demo: // FACEBOOK facebook:{ accounts: ['@teslamotors','!teslamotors'], //Array: Specify a list of accounts from which to pull wall posts limit: 2, //Integer: max number of posts to load access_token: 'YOUR_FACEBOOK_ACCESS_TOKEN' //String: "APP_ID|APP_SECRET" },

as you can see @teslamotors is a page name on facebook so you can use @PageName to conenct to your page feed