Recent Topics

1 Sep 03, 2012 23:13    

Hello,

I have a problem with the twitter plugin.
I have b2e Vers. 4.1.5
I signed in the user to twitter (User, edit user, adv. settings)
I alo have enabled the b2evolution tweet plugin in twitter
but when I write and send a new blog I get no twitter tweet.

What make I wrong?
Thanks,
Gerald

2 Sep 04, 2012 02:22

See if twitter is also enabled for your blog: Blog settings > Advanced > Ping twitter.com

3 Sep 05, 2012 14:21

Hello sam2kb,

yes it is enabled.

regards
gerald

4 Sep 05, 2012 14:30

Can you post here the exact messages you get when you create a new post?

5 Sep 05, 2012 14:45

I get:

Pinge twitter.com...
Could not authenticate with OAuth.
Eintrag wurde erstellt.

6 Sep 06, 2012 10:27

Well, after I searched for "O-Auth" i found some threads ind this forum.
If I understand correctly the hosting provider has to enable O-Auth in his system/server. I this is not the solution, please let me know.
I wrote a mail to the hoster to activate O-Auth but I still have no answer.Thanks,
Gerald

7 Sep 06, 2012 19:59

Let's see what they say.

8 Sep 11, 2012 13:33

Hello,

well the hoster say that it is not possible for him ti install the O-Auth as PECL Modul. They recommend to use oauth-php as option. Does anybody have any experience with oauth-php?

Thanks
gerald

9 Sep 11, 2012 20:44

Well the plugin is already using oauth PHP. There must be some other reason why you get that error.

10 Sep 13, 2012 09:40

Hi Sam,

thanks für your answer.

Well, the b2e system status is ok.
There is only a red sign at "PHP post_max_size = 8M". The system says: "post_max_size should be larger than upload_max_filesize"
If this should be the problem, I know the hoster will be also uncooperative.
"PHP opcode cache" is non. All other lines are green.

Are there any other logs to find the fault? Any other suggestions?

Thanks a lot!
Gerald

11 Sep 13, 2012 11:55

Nope that info is unrelated.Did you try disconnecting your twitter account and reconnecting

12 Sep 13, 2012 15:35

Hi tilqicom,

yes, I did it 2 or 3 times in the past and now again.

On twitter/apps there is the "b2evolution tweet plugin" enabled.
There is also no problem to link the twitter account by b2e - every steps are working/running.
But when I now write an article in b2e and I publis it, I get still the message: "Could not authenticate with OAuth."

Global settings, twitter plugin is active.
Blog options, plugin settings, twitter plugin is linked to the twitter account.

Are there any other settings?
Thanks
gerald

13 Sep 13, 2012 18:43

Did you also try removing the permission from your twitter account and re-allow the app ?

14 Sep 14, 2012 10:39

Yes I did - several times.

Am I the only person with this problem? Seems so :-(

Where is O-Auth located? Is it a component of B2e or is it something at twitter? When I always get the message "Could not authenticate with OAuth" is this a plugin login problem from b2e to twitter or has twitter modified anything during the past weeks?

Thanks a lot!!!
gerald

15 Sep 17, 2012 14:11

Very curious!!

Today I installed b2e on an "own" webserver. Before I pleased the technician to install / enable O-Auth. They did it.
I installed the original b2e with a blank database. Loged in the backend, I attached the twitter account, wrote a new artikel, send it and:

"Could not authenticate with OAuth."

Well, after this last test I am sure anyway that the fauld could not be the hoster(s).
Had there some changes at the twitter api?
Is it a bug in the b2e files?
Are there any other settings (to do) I forgot? I only enabled the twitter plugin and link to the twitter profile. The b2e app is enabled in twitter.

I would be very glad to get some information to handle this problem.
Thanks a lot!

gerald

16 Oct 01, 2012 21:52

Sorry, but I still have the problem with "Could not authenticate with OAuth."

Are there any special setting neccessary? Any special CMD-settings in the twitterauth? Any special entries in the auth-files? Or has twitter changed the settings maybe?

Can't believe that only I have this problem ...
Hope for any kind of help! :-)
Thanks

17 Oct 01, 2012 21:54

Can you PM me FTP and b2evo login/pass to your blog?

18 Oct 01, 2012 23:28

send you an IM
Thanks a lot!

19 Oct 02, 2012 01:48

I'll check it later tonight.

20 Oct 02, 2012 10:04

Hi Sam,

thank you very much! I'm curious about it.

21 Oct 04, 2012 15:17

Hi Sam,

Did you find out anything, or is it too complicated?
Thanks a lot,
gerald

22 Oct 04, 2012 17:32

I'm sorry for delay, I didn't have time to look at your website yet. I will.

23 Oct 07, 2012 01:42

All settings seem to be OK, requests get sent to Twitter.
Here's the response I received trying to tweet from your website

'http_header' => 
  array (
    'date' => 'Sat, 06 Oct 2012 23:31:10 GMT',
    'status' => '401 Unauthorized',
    'content_length' => '85',
    'www_authenticate' => 'OAuth realm="https://api.twitter.com"',
    'cache_control' => 'no-cache, max-age=300',
    'content_type' => 'application/json; charset=utf-8',
    'x_runtime' => '0.00959',
    'set_cookie' => '_twitter_sess=BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCDoKazg6AToHaWQiJTZh%250AYTZjN2YyNTc1NGNkMDVmNzdjODFkOTc1NTM4YzMw--21fe58fab51bd2d94414295ffd8cf0910c7465bb; domain=.twitter.com; path=/; HttpOnly',
    'expires' => 'Sat, 06 Oct 2012 23:36:09 GMT',
    'vary' => 'Accept-Encoding',
    'server' => 'tfe',
  ),

So the message is "401 Unauthorized"

Try to tweet from my demo blog
http://demo.sonorth.com/admin.php?ctrl=user&user_tab=preferences&user_ID=4
user: test
pass: test-test

or from b2evo demo
http://demo.b2evolution.net/

24 Oct 07, 2012 01:45

Is this your server? Try to sync server time, it might help.

25 Oct 07, 2012 01:54

Also no need to install any Pear or PECL oAuth extensions, remove them if they are present.

26 Oct 07, 2012 17:13

Hello sam2kb,

thanks for your help!

No, it is not my server. It is a usual webhosting account at the hoster hosteurope.de

I asked the support if they cam install oAuth extention but they anwered that this is not possible. So there are no oAtuth extentions present.

So what effects the "'status' => '401 Unauthorized', "? Is it a connecting error between webserver to twitter?
What do you mean with: "Try to sync server time, it might help."

Regards
gerald

27 Oct 07, 2012 17:27

401 Unauthorized means twitter didn't authorize that API call i.e. Wrong username/pass, bad signature, etc.

It looks like if server time is out of sync, twitter rejects requests from it. Let's say GMT time is 9:00 and your server shows 9:12, in that case API signature is "old" and twitter rejects it.

28 Oct 07, 2012 17:29

Anyway, try to tweet from either my or b2evo server. That way we can be sure it's not a limitation on your account.

29 Oct 07, 2012 17:40

OK, now I understand. Sorry I am not an api-professional...

You meand I should login in the demo b2evo and make a connection to my twitter accound in the b2evo settings and post an article then. Just to see if it works with twitter?

30 Oct 07, 2012 17:48

OK, well it works... :-/

I loged in at:
http://demo.sonorth.com/admin....;user_ID=4

then I set up my twitter account at the test pofile, I post an artikel and I could find it on twitter.
Damn :-/

I now send a ticket to the hoster support with your statements. Hope they can fix the problem.

31 Oct 07, 2012 18:52

gerald wrote:

OK, well it works... :-/

I loged in at:
http://demo.sonorth.com/admin....;user_ID=4

then I set up my twitter account at the test pofile, I post an artikel and I could find it on twitter.
Damn :-/

I now send a ticket to the hoster support with your statements. Hope they can fix the problem.

have you tried with another twitter account ?

32 Oct 07, 2012 22:45

Hi tiquicom,

do you mean a test with a second twitter account with my blog?
Yes I did. Same error: "Could not authenticate with OAuth."

If you mean a test at sam2kb test-blog - no, should I do it?

Thanks a lot!!!
gerald

33 Oct 08, 2012 00:06

It's definitely a problem on your server. If you can successfully tweet from my server you twitter account is fine.
I would have contacted both twitter and your server support.

34 Oct 08, 2012 08:40

Hello sam,

I'm going crazy. I got the answer from the hoster. I'll translate it:

... We ask for your understanding that we can not provide support for scripts or web applications from third parties. Many of our clients use Twitter plugin in Joomla, Wordpress and other CMS and shop systems.

The error message also indicates that it has not been properly authenticated (on Twitter). Therefore, we can not see why the problem is to be with our server. Moreover, it is not possible to align the server time on the server are abroad. Since you are on a shared hosting product like the WebPack share the server with multiple clients, no customer has the opportunity to meet server-wide settings...

You wrote that I should also contact twitter. Do you have an support email address? I am not able to find one on the twitter website.

EDIT:
I just saw on the twitter account, that there are time settings at the settings page. Actual I have the setting (GMT +1 Berlin). May this be the fault because twitter is in the USA?
If not, may there be any possibility to adapt the time in the oauth files?

Thank you very much!
gerald

35 Oct 08, 2012 17:58

Any reason why you can't switch to a better hosting? The time zone difference is ok, what I meant is if server time is out of sync in the same timezone.

Anyway, all this time thing was just an idea.

I don't know any Twitter contacts, you should be able to find them on developer's website.

36 Oct 09, 2012 10:19

Hi sam,

ok, as I understand your answer, the time-sync thing was an idea not the problem definatelly?

Of course could I change to an better hoster. You won't believe it but I already tested the website/blog with 1+1 (europear largest hoster) and also with an very good hoster for professionals. In all three cases I have the same problem.
Meantime I tried to contact twitter by @hilfe, but got no response until now.

When I read your code again I can see:

'date' => 'Sat, 06 Oct 2012 23:31:10 GMT', and
'expires' => 'Sat, 06 Oct 2012 23:36:09 GMT',

so there is a time window of 5 minutes to place the tweet.
(I think that your posted code is a log of b2evo?)
I there any possibility to get the time of twitter when I place a articel, so I can match the two timestamps?

How did you activate the log showing after publishing an article. So I may get the log also at the other installations?

Thanks a lot!
gerald


Form is loading...