vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - WS vBulletin Tweet Poster (https://vborg.vbsupport.ru/showthread.php?t=236278)

Mr_Running 06-26-2011 10:02 AM

Working on installing
I do not see a Twitter Access Token Secret in my twitter application details?

Jurg 06-26-2011 10:41 AM

Quote:

Originally Posted by Mr_Running (Post 2212954)
Working on installing
I do not see a Twitter Access Token Secret in my twitter application details?

There should be a tab in the top-right of the page.

Mr_Running 06-26-2011 04:51 PM

Thanks Jurg
Yes top-right = My Access Token

Cheers, :)

Mr_Running 06-26-2011 09:48 PM

Anyone know how to fix this issue...I did the Bulletin 2 Twitter: Test/Debug and this is what came back.

Code:

object(stdClass)#13 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=>

string(23) "/1/statuses/update.json" }


Mosh 06-26-2011 10:01 PM

Quote:

Originally Posted by Jurg (Post 2212934)
Installed without a problem, but doesn't post to Twitter.

bit.ly creates the links.

The debug tool gives the following error, so I can't get debug info:

"NULL
vBulletin Message
Unable to add cookies, header already sent.
File: /home/site/public_html/includes/class_bootstrap.php(103) : eval()'d code
Line: 11"

Any ideas?

Try changing the execution order of the test plugins to 1 instead of 5 and see if that makes a difference. If that does not work, then while testing disable any other plugin that uses the global_bootstrap_init_start hook.

Mosh 06-26-2011 10:03 PM

Quote:

Originally Posted by Mr_Running (Post 2213229)
Anyone know how to fix this issue...I did the Bulletin 2 Twitter: Test/Debug and this is what came back.

Code:

object(stdClass)#13 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=>

string(23) "/1/statuses/update.json" }


Which plugin was that from? I am assuming the second one, as it will come back with that error if it worked the first time.

Mr_Running 06-26-2011 10:23 PM

Yes it was from 2

and this is what is coming from 1
string(20) "This is a test tweet"

Mosh 06-26-2011 10:28 PM

Quote:

Originally Posted by Mr_Running (Post 2213255)
Yes it was from 2

and this is what is coming from 1
string(20) "This is a test tweet"

It means you have set up the twitter side of things correctly, so there should be no reason this hack does not work. Also, can you click Mark as Installed please.

Mr_Running 06-27-2011 02:13 AM

Quote:

Originally Posted by Mosh (Post 2213239)
Try changing the execution order of the test plugins to 1 instead of 5 and see if that makes a difference. If that does not work, then while testing disable any other plugin that uses the global_bootstrap_init_start hook.

Same here and a few mods that use it and work together.

Hey Mosh this mod is Tagged for now :(

Jurg 06-27-2011 04:01 PM

Quote:

Originally Posted by Mosh (Post 2213239)
Try changing the execution order of the test plugins to 1 instead of 5 and see if that makes a difference. If that does not work, then while testing disable any other plugin that uses the global_bootstrap_init_start hook.

Thanks but tried both and still get the error, except it ends in "line 10" now. Any other thoughts?

MarceloS 07-06-2011 02:37 PM

This product is great, but I have one suggestion:

You should have an option to choose the usergroups which threads will be published.

The way it is now, my tweeter can get many spam messages before I realize that there is a spammer on my board.

Videx 07-06-2011 04:59 PM

Quote:

Originally Posted by MarceloS (Post 2217422)
The way it is now, my tweeter can get many spam messages before I realize that there is a spammer on my board.

An interesting idea. Sounds more like you just need to exclude one group? Is there some mod that puts users in a "pending full membership status" usergroup?

MarceloS 07-07-2011 11:39 AM

Quote:

Originally Posted by Videx (Post 2217468)
An interesting idea. Sounds more like you just need to exclude one group? Is there some mod that puts users in a "pending full membership status" usergroup?

For example, let's say I have an usergroup that members with 100+ post are promoted into.

I would make this group enabled for twitter, because they most likely would not be spammers.

Mosh 07-09-2011 07:10 AM

Quote:

Originally Posted by Jurg (Post 2213585)
Thanks but tried both and still get the error, except it ends in "line 10" now. Any other thoughts?

Sorry, did not see the reply..... something in your installation is sending the header before the debug plugins are executed... no idea as to what it could be. If I think of anything I will let you know.

Mosh 07-09-2011 07:12 AM

Quote:

Originally Posted by MarceloS (Post 2217422)
This product is great, but I have one suggestion:

You should have an option to choose the usergroups which threads will be published.

The way it is now, my tweeter can get many spam messages before I realize that there is a spammer on my board.

Great idea, I will add it to the list of features for the next version as it should be easy enough to add it in.

cherylferraro 07-11-2011 06:35 PM

Hi, I have used this mod for a while and never had any issues with it until I installed the vb mobile app on top of an existing suite install.

Users were reporting invalid_api_signature errors and vb tech support suggested that I disable all products and plugins to see where the errors are coming from.

That's when I discovered that whenever I enable this mod the app generates random unexpected server response errors. As long as this mod is disabled I have received no trouble reports about that error. When I enable it again they come back. Not sure if it's a conflict with some other mod, the app, or something I have broken all by myself. Any suggestions for tracking down and fixing the source of that error?

Mosh 07-11-2011 10:14 PM

Quote:

Originally Posted by cherylferraro (Post 2219409)
Hi, I have used this mod for a while and never had any issues with it until I installed the vb mobile app on top of an existing suite install.

Users were reporting invalid_api_signature errors and vb tech support suggested that I disable all products and plugins to see where the errors are coming from.

That's when I discovered that whenever I enable this mod the app generates random unexpected server response errors. As long as this mod is disabled I have received no trouble reports about that error. When I enable it again they come back. Not sure if it's a conflict with some other mod, the app, or something I have broken all by myself. Any suggestions for tracking down and fixing the source of that error?

No idea, as I do not have the mobile app installed (I have no need for it). Maybe I may get some ideas if you post the error messages you are getting.

Jurg 07-13-2011 01:48 PM

Quote:

Originally Posted by Mosh (Post 2218443)
Sorry, did not see the reply..... something in your installation is sending the header before the debug plugins are executed... no idea as to what it could be. If I think of anything I will let you know.

Ok no worries. Uninstalled for the time being.

cherylferraro 07-14-2011 03:15 AM

Quote:

Originally Posted by Mosh (Post 2219460)
No idea, as I do not have the mobile app installed (I have no need for it). Maybe I may get some ideas if you post the error messages you are getting.

"Unexpected server response" errors come up when browsing from a mobile device when this product is enabled.

Otherwise this is a very useful mod and I am grateful that you shared it. I guess I'll just uninstall it from the forum that uses the vb app, but I will continue to use it on the other forums that don't use that app.

Thanks for you work on this.

wampforum 07-14-2011 02:09 PM

HI,
I really hope you can help me out here. I have spent the last few hours trying to get this to work. I have read every post in this thread and still no joy!

I have installed and everything seems fine. I can add hash tags in a new threads and the thread posts fine but no tweet. I have installed everything twice over, changed and double checked every setting i can find and nothing.

If I use bitly I can see the threads get posted to their site but they wont add them to twitter (I can manually add them form there to twitter)

tried all the url shortenings and without any shortening. Different forums etc. Twitter feeds fine from my sites tweet buttons or form my facebook fan pages so i know its working.

I have also disabled every plug in and mod and still no change. I have the necessary curl and json on the server.

I tried to enable and run the extradiagnostic plug ins but I dont really understand them. I assume the userid to go in them is my twitter userid?

Then what do I do with them? I enabled them but nothing happens - tried adding a new thread and still nothing so I cant even post up the results from that!!!

I am running VB 4.1.4

any ideas anyone before I pull my hair out!!

ictvb 07-16-2011 10:38 PM

@wampforum You might want to check with your twitter application (under "Your access token") if the access token level is Read-write and not Read-only.

If it's Read-only, you have to revoke access for the application on your normal twitter account, delete your current application and create a new application with the same information. Just this time, be sure to check Settings > Application Type and set it to Read and write before generating the OAuth Access token. I think this should be added to the Q&A list.

wampforum 07-17-2011 11:49 AM

Quote:

Originally Posted by ictvb (Post 2221337)
@wampforum You might want to check with your twitter application (under "Your access token") if the access token level is Read-write and not Read-only.

If it's Read-only, you have to revoke access for the application on your normal twitter account, delete your current application and create a new application with the same information. Just this time, be sure to check Settings > Application Type and set it to Read and write before generating the OAuth Access token. I think this should be added to the Q&A list.


You sir are brilliant! Works perfectly now. I checked the main read write was enabled but couldnt alter the access token one.

Thanks mate

kall 07-26-2011 04:50 AM

Looking at the plugins used, I wonder - does it post to Twitter when a thread is created automatically?

eg: RSS poster?

Mosh 07-26-2011 10:05 AM

Quote:

Originally Posted by kall (Post 2225056)
Looking at the plugins used, I wonder - does it post to Twitter when a thread is created automatically?

eg: RSS poster?

No, it does not.

kall 07-26-2011 10:46 AM

Quote:

Originally Posted by Mosh (Post 2225117)
No, it does not.

Ahh well, I'll stick with my tweaked version of buro's. Thanks anyway. :)

oddmud 07-27-2011 02:09 PM

When is this going to be made for Facebook pages?!

barca4ever 07-29-2011 02:31 PM

Big thanks for your effort!

I have installed the hack and configured all settings.

The problem is when I post a new thread, no tweet is generated!

I enabled "vBulletin 2 Twitter: Test/Debug Module 1" and set my userid (1) instead of (XXX)

But I got a blank page when I tried to browse my forum with my userid!

I even changed the IF statement to be if ($vbulletin->userinfo['userid']==1) but still no success

Any help will be highly appreciated!

webgroup 08-02-2011 08:52 PM

Working fine in 4.1.5

Thanks!

Qwest 08-12-2011 01:26 PM

This thing works FLAWLESSLY except for a small problem.

It is sending the showthread.php URL instead of the vBSEO url.

Is there a setting or code change to fix that?

Mosh 08-12-2011 09:29 PM

Quote:

Originally Posted by Qwest (Post 2232624)
This thing works FLAWLESSLY except for a small problem.

It is sending the showthread.php URL instead of the vBSEO url.

Is there a setting or code change to fix that?

Not at the moment. I do not own or have vBSEO installed, so do not know how to invoke vBSEO URLs. Is there a link to the vBSEO website that I can view that shows me how to do that with the vBSEO API?

Seductor 08-15-2011 02:53 PM

Does the plugin send the new tweets just after setting up it or it takes some time?

Videx 08-15-2011 04:03 PM

Quote:

Originally Posted by Seductor (Post 2233806)
Does the plugin send the new tweets just after setting up it or it takes some time?

Once it's working, tweets should show up virtually instantly.

If you're having trouble getting it running, be sure to read this entire thread and try everything that has been suggested. Starting with making sure your manual tweets are working.

sweetpotato 08-15-2011 05:13 PM

Why These tweets will only be posted if they are 140 characters or shorter? This is the tittle or content of post/thread?

Thank,

sweetpotato 08-16-2011 06:28 AM

I see NULL for debug module 1 and

Quote:

object(stdClass)#14 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=> string(23) "/1/statuses/update.json" }
for Debug Module 2

How to make it post tweet please?

steeler7 08-22-2011 06:37 PM

Quote:

Originally Posted by Mosh (Post 2218444)
Great idea, I will add it to the list of features for the next version as it should be easy enough to add it in.

Please !

I can't wait until this option is added!

Reef Man 08-23-2011 09:48 PM

Any way to make this work on blog entries?

grey_goose 08-29-2011 03:22 PM

For some reason my hash tags aren't showing up?

how are they seperated in the admincp setting? with spaces #example1 #example2 or with commas #example1,#example2

NoSGR 09-03-2011 10:52 PM

Tested & Working on 4.1.5!

Thank you very much, your job is something more than perfect!

Mosh 09-04-2011 03:12 AM

Quote:

Originally Posted by sweetpotato (Post 2233841)
Why These tweets will only be posted if they are 140 characters or shorter?

Correct.
Quote:

Originally Posted by sweetpotato (Post 2233841)
This is the tittle or content of post/thread?

Just the title of the thread.

Mosh 09-04-2011 03:20 AM

Quote:

Originally Posted by sweetpotato (Post 2234053)
I see NULL for debug module 1 and

Quote:

object(stdClass)#14 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=> string(23) "/1/statuses/update.json" }
for Debug Module 2

How to make it post tweet please?

Sounds like the application you created is Read-Only.

Follow the instructions in Post #501, which should fix it.


All times are GMT. The time now is 10:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02126 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete