Twitter integration on Jisko RC1

Asked by Nikolay

Sorry for my English. I am from Russia.

In Admin panel dont save my Twitter consumer Key and Twitter consumer secret Key. When press Save, twitter keys disappears.
User in settings press button "Sign in with Twitter", Jisko show error "There was a problem while trying to link your account with Twitter"

Where is the problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Jisko Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andivista (andi19642004) said :
#1

Hello,

I had the same problem when i upgrade from 3.0Beta2 to 3.0RC1.

But then i had a look at sql file in sql/upgrade3.0beta2.sql

INSERT INTO `settings` (`id`, `category`, `value`) VALUES (40, 'tw_consumerkey', ...

I add this manually and it works.

Later i delete all in the Database ( on a Test-Domain ) and I have installed everything from scratch.

With a fresh install tw_consumerkey and tw_secretkey will be installed automatically.

Greetings from Berlin
Andi

Revision history for this message
Andivista (andi19642004) said :
#2

Have you looked also at the manual for callback url ( Enable Twitter Integration )

http://wiki.jisko.org/w/Enable_Twitter_Integration

have a nice day

Andi

Revision history for this message
Nikolay (nikar-tom) said :
#3

Recorded values tw_consumerkey & tw_secretkey. Admin panel save twitter keys.

But, again Jisko show error "There was a problem while trying to link your account with Twitter"
settings/twitter?error=token

Revision history for this message
Andivista (andi19642004) said :
#4

This is an example of my twitter app. It works fine for me.

http://twitpic.com/2b5vga

I wish you it works soon

Andi

Revision history for this message
Andivista (andi19642004) said :
#5

addendum: example is for clean urls

otherwise: call back url = yourdomain.com/?module=twitter&callback

Revision history for this message
Andivista (andi19642004) said :
#6

An example of my mysql database for jisko 3.0RC1 ( settings/tw_consumerkey )

http://twitpic.com/2b5znu

If it does not work, then i have no more ideas. Perhaps the developers ...

Andi :)

Revision history for this message
Nikolay (nikar-tom) said :
#7
Revision history for this message
Andivista (andi19642004) said :
#8

I am now registered on your site but i also can not change the language... curious

Revision history for this message
Nikolay (nikar-tom) said :
#9

Yes))) language not change

Revision history for this message
Nikolay (nikar-tom) said :
#10

URL Twitter button:
http://cwitter.ru/twitter?connect&auth=8fe376499ae08a230e0a0e25081f165f

What is it: 8fe376499ae08a230e0a0e25081f165f

Revision history for this message
Andivista (andi19642004) said :
#11

In your HTML Source Code settings/twitter, i see only one difference to my Source Code.

footer: Javascript <!--LiveInternet counter--> ...

Do you have this .htaccess? http://bit.ly/9AHqJ3

but now I really have no more ideas :)

Revision history for this message
Rubén Díaz (outime) said :
#12

I've tested again the latest revision and I see no problem updating
setting or using an app.

The only issue could be your hosting... is it shared? is it free?
which PHP version it has? Also, as last chance, I would reinstall
it... if the upgrade made this problems.

But I agree with Andivista, this is kinda weird. Tell us how it's going!

On Tue, Aug 3, 2010 at 11:17, Andivista
<email address hidden> wrote:
> Question #119792 on Jisko changed:
> https://answers.launchpad.net/jisko/+question/119792
>
> Andivista proposed the following answer:
> In your HTML Source Code settings/twitter, i see only one difference to
> my Source Code.
>
> footer: Javascript <!--LiveInternet counter--> ...
>
> Do you have this .htaccess? http://bit.ly/9AHqJ3
>
> but now I really have no more ideas :)
>
> --
> You received this question notification because you are an answer
> contact for Jisko.
>

--
Rubén Díaz
GPG id 2354DA5F
http://diazr.com
(+34) 644 46 93 64

Revision history for this message
Nikolay (nikar-tom) said :
#13

I come home an hour and a detailed description as I updated.

Revision history for this message
Nikolay (nikar-tom) said :
#14

Probably not correctly updated. Make a backup and try to install again.
Thank you all for your help, luck and prosperity to your project!!! ))

Revision history for this message
Rubén Díaz (outime) said :
#15

Thank you and have a nice day!

Revision history for this message
Andivista (andi19642004) said :
#16

Hello Nikolay,

I send a Test File to your Microblog... so you could test it without your MySQL Database. I have tested it before.

Revision history for this message
Andivista (andi19642004) said :
#17

Hello Nikolay,

Okay i tested your consumer key and consumer secret and its not working. I made an Twitter Application and it works fine with your Site.
The best is delete your App and make it new. If you are ready please a give me a feedback then i delete this app.

http://twitpic.com/2bhhh3

Solved, Greetings from Berlin

Andi

Revision history for this message
Andivista (andi19642004) said :
#18

Today i get a question from another user with the same problem. He gave me his data for FTP, MySQL and so on.

I use a test file on my and on his webspace. On my webspace it is working, on his webspace it is not working. So i am sure it is the PHP Configuration ( maybe a free hoster )

Also i use another test file to show the time and ip adress and it is also not working on his domain but its working on all my domains from different providers.

<?php
$tage = array("Sonntag", "Montag",
"Dienstag", "Mittwoch", "Donnerstag",
"Freitag", "Samstag");

$monate = array("Januar", "Februar", "März",
"April", "Mai", "Juni", "Juli",
"August", "September", "Oktober",
"November", "Dezember");

$monat = date("n") -1;
$tag = date("w");
$zeit = date("H:i");

echo $tage[$tag];
echo date(", j. ");
echo $monate[$monat];
echo date(" Y");
echo date(" H:i ");

   $ip = $_SERVER['REMOTE_ADDR'];
   $host = gethostbyaddr($ip);

   echo "- Deine IP-Adresse: $ip<br>";

?>

Abraham the programmer of the oauth library wrote on his site:

Probably an issue with the clock on the server or a firewall blocking connections. Make sure the servers time is synced using NTP. Make sure you can ping https://api.twitter.com from the terminal.

https://github.com/abraham/twitteroauth/issues/closed#issue/59