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)

SpottySocks 02-12-2013 08:06 PM

Quote:

Question 8:

My threads and posts are created with no error messages, but no tweets are posted..... how can I check that I if this hack is working?

Answer:

To test to see if it is working, there are two diagnostic plugins available to test the functionality on the Twitter side of things (and are disabled by default):

vBulletin 2 Twitter: Test/Debug Module 1 - which tests to see if you are actually authenticating with Twitter
vBulletin 2 Twitter: Test/Debug Module 2 - tests to see if your Twitter Application is set to "Read & Write"

In the AdminCP, select Plugins & Products -> Plugin Manager. Enable the above plugins one by one, follow the instructions to change the userid to your userid and copy and post the responses for both plugins (displayed at the top of the page on your forum when you refresh the page) in this thread (be sure to indicate which response is from which plugin) and then I can see what is going on.

NOTE: Remember to disable both the plugins again once you are done, as they are only included for diagnostic purposes.
I just done this.....

Module 1:

PHP Code:

string(24

Module 2:
PHP Code:

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

Can anyone help please?

I think I have followed everything as I should have but it still doesn't work... =/

SpottySocks 02-13-2013 03:51 PM

Quote:

Originally Posted by SpottySocks (Post 2403849)
I just done this.....

Module 1:

PHP Code:

string(24

Module 2:
PHP Code:

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

Can anyone help please?

I think I have followed everything as I should have but it still doesn't work... =/

Just had this error when went to submit a reply to a thread:

PHP Code:

{"errorCode"0"errorMessage""""results": {"http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum": {"userHash""X2Z50M""shortKeywordUrl""""hash""X2Z50N""shortCNAMEUrl""http://bit.ly/X2Z50M""shortUrl""http://bit.ly/X2Z50M"}}, "statusCode""OK"}Invalid JSON-response on line 196 in /home/friendsc/public_html/includes/bitly.php
#0 /home/friendsc/public_html/includes/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /home/friendsc/public_html/newreply.php(936) : eval()'d code(40): Bitly->shorten('http://www.frie...')
#2 /home/friendsc/public_html/newreply.php(936): eval()
#3 {main}


Fatal errorInvalid JSON-response on line 196 in [path]/includes/bitly.php in [path]/vb/vb.php on line 286
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /home/friendsc/public_html/includes/bitly.php , /home/friendsc/public_html/vb/vb.php, 286, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/friendsc/public_html/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/friendsc/public_html/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum,[history] => 1))),[1] => Array ([file] => /home/friendsc/public_html/newreply.php(936) : eval()'d code,[line] => 40,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum)),[2] => Array ([file] => /home/friendsc/public_html/newreply.php,[line] => 936,[function] => eval)),[] => ),[code] => 256)) #1 trigger_error(Invalid JSON-response on line 196 in /home/friendsc/public_html/includes/bitly.php , 256) called at [/home/friendsc/public_html/vb/vb.php:286] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/friendsc/public_html/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/friendsc/public_html/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum,[history] => 1))),[1] => Array ([file] => /home/friendsc/public_html/newreply.php(936) : eval()'d code,[line] => 40,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum)),[2] => Array ([file] => /home/friendsc/public_html/newreply.php,[line] => 936,[function] => eval)),[] => )) 


SpottySocks 02-13-2013 09:10 PM

OK I've fixed it mostly, and got it working.

Only problem now is..... Even though I have selected 'YES' to both -

'Enable vBulletin to post to twitter when creating a new thread?'
and
'Enable vBulletin to post to twitter when posting a new reply?'

It is only giving links to replies on Twitter - not new threads!!!

Help please? I'm pulling my hair out here....

wolfman069 02-16-2013 12:23 PM

i love this mod works great and since im new to twitter this mod made my life easier with it.

keyla31 02-18-2013 10:03 PM

this is just an amazing MOD, and I so love it, it wil lactually make me money for sure, thank you so much

Lightmaster-AH 02-22-2013 11:35 AM

Excellent,

works without any problems on my 4.2.0!

Thanks for this and have a nice day!

Mopar1973Man 02-22-2013 05:04 PM

Tagged and installed... Works just like you designed it too. :D

Spangle 03-03-2013 12:44 PM

This is one that seems to work, now has he done one that will post to our Facebook page ?

Simon Lloyd 03-03-2013 08:41 PM

Quote:

Originally Posted by Spangle (Post 2407592)
This is one that seems to work, now has he done one that will post to our Facebook page ?

You could simply use graffitti or such like provided by Facebook to post rss feed to your wall ..etc

Videx 03-03-2013 11:20 PM

I managed to get our FB posts working but "simple" wasn't the word for it. More like true "rocket science". And it's delayed sometimes by several hours. I wish I could remember exsctly what I used so I could recommend trying anything else. But I think my mind has blocked out the whole disagreeable affair.


All times are GMT. The time now is 11:16 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.03764 seconds
  • Memory Usage 1,765KB
  • 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
  • (5)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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