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
963 stars 304 forks source link

Twitter not working #331

Open htrxuan opened 6 years ago

kierweb commented 6 years ago

Are you using ... https://github.com/jublonet/codebird-cors-proxy ? I had to use that proxy to make Twitter work again. e.g. twitter:{ proxy: "/assets/js/codebird-proxy/"

htrxuan commented 6 years ago

so must change in codebird.js ? Could you give me exactly?

kierweb commented 6 years ago

Download https://github.com/jublonet/codebird-cors-proxy into a directory on your website .... and then in your jquery running socialfeed add proxy: "<path to codebird-cors-proxy-directory" to the twitter bit. e.g. $('#socialfeed').socialfeed({ twitter:{ proxy: "/assets/js/codebird-proxy/", accounts: ['@x'], limit: 6,
consumer_key: 'x', consumer_secret: 'x' }, show_media: true, length:240 });

htrxuan commented 6 years ago

thank u! It works now

kierweb commented 6 years ago

Glad to hear :)