graulund / tweetnest

NO LONGER MAINTAINED. MESSAGE ME IF YOU WANT TO MAINTAIN THIS. :) A browsable, searchable and easily customizable archive and backup for your tweets
MIT License
492 stars 93 forks source link

'Could not connect to Twitter. Refresh the page or try again later.' #86

Open Inskora opened 7 years ago

Inskora commented 7 years ago

I'm trying to set up a new tweetnest and am unable to do it for some reason. I have successfully set up a Tweetnest before and don't know what I'm doing differently this time.

I've created a Twitter app and got the consumer key and secret. I've uploaded Tweetnest to my webspace, and the setup page appears to display okay.

In Chrome/Opera: if I go to the setup page, fill in the key and secret, and click the 'sign in with Twitter' button, I get the error message (displayed as the sole content of a new page) 'Could not connect to Twitter. Refresh the page or try again later.'

In Edge: if I go to the setup page, fill in the key and secret, and click the 'sign in with Twitter' button, I get the error message (on the setup page) 'Not all required fields were filled in!'

What am I doing wrong?

wknowles commented 7 years ago

I am afraid I am getting this error too. I am not too sure what to do.

wknowles commented 7 years ago

@Inskora I have managed to install manually by filling out inc/config.php, then copying it to the root directory and creating mysql tables using the queries in setup.php. Hope that might help...

No idea why this is happening - my php is rusty!

sr4136 commented 7 years ago

I'm running into this issue as well.

Sachin124 commented 7 years ago

step 1: https://apps.twitter.com/app or go to your app setting

step 2: Unchecked the (Enable Callback Locking (It is recommended to enable callback locking to ensure apps cannot overwrite the callback url)) This box..

save and exit and check..

ThankYou..!

geekafy commented 7 years ago

Had this issue too, quite easy to fix

The solution to this is quite simple:

1: Go to https://apps.twitter.com 2: Select your app that provides you the API keys to TweetNest 3: Enter the same URL that you have listed in Website box in the Callback URL section 4: Save changes 5: Refresh TweetNest 6: Have fun!

Souce: https://twitter.com/graulund/statuses/353217517034029057 (Soooo happy I saw this!) :-)

V-H commented 5 years ago

Sorry, but I have this issue, too – years after ... I run the solutions given by @geekafy aswell as this by @Sachin124 (didn’t find the check-box, so I tried to leave the field empty. But it is recommended...). Tried to regenerate the keys, also this doesn’t work.

So, what should I do now? The plugin is just what I'm was looking for, so it would great if I get it working...

V-H commented 5 years ago

Didn't find the reason for that behaviour, might be the rights-handling on my linux server is a bit ... anyway... Thanks @wknowles : So did I and it works! Anyway, I didn’t copy the config.php to the root...