social-feed icon indicating copy to clipboard operation
social-feed copied to clipboard

Twitter not working

Open djgd opened this issue 7 years ago • 39 comments

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

djgd avatar Jul 31 '17 09:07 djgd

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 avatar Jul 31 '17 10:07 bluelevel-media

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.

bluelevel-media avatar Jul 31 '17 10:07 bluelevel-media

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

HartLarsson avatar Jul 31 '17 11:07 HartLarsson

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

RodCoxi avatar Jul 31 '17 12:07 RodCoxi

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

mutiullah7 avatar Jul 31 '17 14:07 mutiullah7

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

dylanda avatar Jul 31 '17 15:07 dylanda

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

djgd avatar Jul 31 '17 15:07 djgd

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

pferder avatar Aug 01 '17 01:08 pferder

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 ?

Morphinof avatar Aug 01 '17 12:08 Morphinof

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

mutiullah7 avatar Aug 01 '17 12:08 mutiullah7

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

Dazdd avatar Aug 01 '17 14:08 Dazdd

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

djgd avatar Aug 02 '17 10:08 djgd

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

HartLarsson avatar Aug 02 '17 12:08 HartLarsson

@HartLarsson any ideas when it will be fixed?

mutiullah7 avatar Aug 02 '17 16:08 mutiullah7

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

HartLarsson avatar Aug 03 '17 01:08 HartLarsson

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

joshuaatkins avatar Aug 03 '17 13:08 joshuaatkins

Everything is working fine again, thanks !

Morphinof avatar Aug 03 '17 14:08 Morphinof

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

HartLarsson avatar Aug 04 '17 12:08 HartLarsson

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

Hypocrite avatar Aug 16 '17 14:08 Hypocrite

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

martijngastkemper avatar Aug 16 '17 14:08 martijngastkemper

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.

Hypocrite avatar Aug 16 '17 16:08 Hypocrite

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

harman993 avatar Aug 17 '17 00:08 harman993

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

CrySensai avatar Aug 17 '17 09:08 CrySensai

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

mynetx avatar Aug 19 '17 10:08 mynetx

now we have the same problem again @jublo

HartLarsson avatar Aug 30 '17 15:08 HartLarsson

Can you test again? We made more changes.

mynetx avatar Sep 09 '17 10:09 mynetx

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

mutiullah7 avatar Sep 22 '17 22:09 mutiullah7

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

pferder avatar Sep 22 '17 23:09 pferder

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
}

jean-emmanuel avatar Sep 23 '17 07:09 jean-emmanuel

@jean-emmanuel You meant code like this?

cb.setProxy("https://url/to/codebird-cors-proxy/");

mynetx avatar Sep 24 '17 09:09 mynetx