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 #268

Open djgd opened 6 years ago

djgd commented 6 years ago

There appears to be an issue with twitter, no tweets are being displayed for any twitter account

bluelevel-media commented 6 years ago

Yes I am having the same issue across all my sites using this. Looks like the social-feed demo is also doing the same... hoping that twitter hasn't been changing stuff again!

bluelevel-media commented 6 years ago

wasn't getting any console errors before but not suddenly I am getting thousands (literally) of console errors building up with the same errors:

XMLHttpRequest cannot load https://api.jublo.net/codebird/oauth2/token. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.XXXX.co.uk' is therefore not allowed access. The response had HTTP status code 502.

HartLarsson commented 6 years ago

i've see that too, maybe codebird have changed something about token/access/security in API we need to investigate

RodCoxi commented 6 years ago

Hey, exactly the same for me ! I'm a beginer but i've seen that the tweeter api's link : http://api.tweecool.com/ doesn't exist ... it's in 1&1

mutiullah7 commented 6 years ago

Hey, same for me but im getting a console error POST https://api.jublo.net/codebird/oauth2/token 500 (Internal Server Error) codebird.js?ver=4.8:525

dylanda commented 6 years ago

Same issue here... That might help or be related : https://github.com/jublonet/codebird-cors-proxy/issues/8

djgd commented 6 years ago

More likely this one https://github.com/jublonet/codebird-js/issues/135

pferder commented 6 years ago

I'm getting Twitter posts but takes some time, 1 minute or 2

Morphinof commented 6 years ago

Same here, impossible to load tweets, to prevent the plugin from requesting https://api.jublo.net/codebird/oauth2/token too much i've done this : $.ajax({ url: 'https://api.jublo.net/codebird/oauth2/token', timeout: 1000, success: function () { $('.social-feed-container').socialfeed(options); }, error: function () { // Removing twitter config delete options.twitter; $('.social-feed-container').socialfeed(options); } });

Any news around the issue ?

mutiullah7 commented 6 years ago

@HartLarsson @pferder Same here, im getting tweets now but after 2 or 3 minutes.

Dazdd commented 6 years ago

@mutiullah7 Same here, I disabled the twitter function and everything else is working perfectly. Awaiting an update to fix the twitter issue.

djgd commented 6 years ago

Disabled, looking for an alternative - codebird have closed the issue seemingly without a resolution

HartLarsson commented 6 years ago

i still following the thread here: https://github.com/jublonet/codebird-js/issues/137 seems is a platform codebird issue, i see that after a minute or so the stream comes from twitter without any error in console. Is like the jublonet server is overloaded and keep requests in queue

mutiullah7 commented 6 years ago

@HartLarsson any ideas when it will be fixed?

HartLarsson commented 6 years ago

i've no idea because depends on an external library/service. If you read the codebird issue tracker there are many people with problems too.

follow: https://github.com/jublonet/codebird-js/issues/135

joshuaatkins commented 6 years ago

Hi guys,

We (Jublo - Codebird) have made (considerable) changes to our infrastructure to continue our service for you. Can you confirm if this has made the improvements required?

Thanks,

Josh

Morphinof commented 6 years ago

Everything is working fine again, thanks !

HartLarsson commented 6 years ago

Hi @joshuaatkins all workings ok right now thank you for your prompt replay!

Hypocrite commented 6 years ago

We are still experiencing issues. Do we have to update Codebird to fix the issue?

martijngastkemper commented 6 years ago

You have to update Codebird. We don't manage that server.

Hypocrite commented 6 years ago

I downloaded the latest Codebird version from https://github.com/jublonet/codebird-js but it seems it was last updated a year ago.

It does not give a response from https://api.jublo.net/codebird/oauth2/token. I will post a comment to the Codebird issue.

harman993 commented 6 years ago

is there any updates from codebird ...im also getting 502 error while accessing twitter

CrySensai commented 6 years ago

same here again "No 'Access-Control-Allow-Origin"

mynetx commented 6 years ago

@all Hello there, the issues should be resolved now, can you test?

HartLarsson commented 6 years ago

now we have the same problem again @jublo

mynetx commented 6 years ago

Can you test again? We made more changes.

mutiullah7 commented 6 years ago

@jublo Twitter feed again stopped working OPTIONS https://api.jublo.net/codebird/oauth2/token net::ERR_CONNECTION_TIMED_OUT

pferder commented 6 years ago

Same here! codebird.js:525 OPTIONS https://api.jublo.net/codebird/oauth2/token net::ERR_CONNECTION_TIMED_OUT

jean-emmanuel commented 6 years ago

It's a php bug on Jublo's proxy side. I solved it by installing https://github.com/jublonet/codebird-cors-proxy directly on my server. You have to set twitter's proxy option as follow :

twitter:{
    proxy:"https://url/to/codebird-cors-proxy/",
    accounts: //etc
}
mynetx commented 6 years ago

@jean-emmanuel You meant code like this?

cb.setProxy("https://url/to/codebird-cors-proxy/");
jean-emmanuel commented 6 years ago

I was refering to jquery.socialfeed's configuration, but yes that's what gets called in the end (https://github.com/pavelk2/social-feed/blob/gh-pages/js/jquery.socialfeed.js#L231).

marcustisater commented 6 years ago

@jublo any updates? Still getting 500

joshuaatkins commented 6 years ago

@marcustisater are you receiving 500 now? Or was it from around 20:00-22:00 GMT yesterday?

marcustisater commented 6 years ago

Hello @joshuaatkins, thanks for getting in touch. I am receiving them now as well. But yes, it worked yesterday.

See https://api.jublo.net/codebird/1.1/statuses/user_timeline.json?id=X

mutiullah7 commented 6 years ago

@marcustisater im too getting Bad Authentication error https://api.jublo.net/codebird/1.1/statuses/user_timeline.json?id=X

joshuaatkins commented 6 years ago

Can you provide a sample of the code you are using? I am successfully able to query https://api.jublo.net/codebird/1.1/statuses/user_timeline.json

mutiullah7 commented 6 years ago

@joshuaatkins Just checked, it's working now

marcustisater commented 6 years ago

Working, might be DNS. Thanks @joshuaatkins

iKomettech commented 5 years ago

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

404 Error in Developer Console but Twitter post displayed.Any solution for this issue