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

Bad Authentication data for Twitter #293

Open aldogcarlos opened 6 years ago

aldogcarlos commented 6 years ago

We started getting this issue

Uncaught TypeError: Cannot read property 'fromNow' of undefined at new SocialFeedPost (jquery.socialfeed.js:104) at Number. (jquery.socialfeed.js:260)

I thought it was related with Twitter app, but it is not, I check on demo page https://pavelk2.github.io/social-feed-example/ I got same error

We made some debug, and in request URl response, I got this ex https://api.jublo.net/codebird/1.1/statuses/user_timeline.json?id=aldogcarlos&count=1

Response { "errors": Array[1][ { "code": 215, "message": "Bad Authentication data." } ] }

HartLarsson commented 6 years ago

I've checked and for me twitter works perfectly. Don't know if was aproblem of soem days ago. Even the demo page works

Alpdog14 commented 5 years ago

I am getting the same result on my Twitter feed using this code, its sometimes load the tweets but other times I get the same Bad Authentication on the JSON data:

GET https://api.jublo.net/codebird/1.1/statuses/user_timeline.json?id=conversant&count=5 jquery.socialfeed.js:104 Uncaught TypeError: Cannot read property 'fromNow' of undefined

{"errors":[{"code":215,"message":"Bad Authentication data."}]}

Does anyone know how to fix this?

Seems like trying to website example: https://pavelk2.github.io/social-feed-example/, I am getting errors in the console as well

iKomettech commented 5 years ago

Any solution for this issue? @Alpdog14

HartLarsson commented 5 years ago

for me works correctly.

iKomettech commented 5 years ago

for me works correctly.

Twitter feed working fine but in developer console it's showing 404 error for https://api.jublo.net/codebird/1.1/statuses/user_timeline.json?id=xxxx&count=4&tweet_mode=extended

The request is: https://api.jublo.net/codebird/1.1/statuses/user_timeline.json?id=xxxx&count=4&tweet_mode=extended

Accessing the URL directly returns: {"errors":[

{"code":215,"message":"Bad Authentication data."} ]}

Is this reference needed? The twitter posts are displaying in the panel.

HartLarsson commented 5 years ago

i've no console errors. What accounts you have configured. Based on the latest twitter policy you can grab tweets only from yours