MyBB Community Forums

Full Version: MyBBPublisher v2.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Thanks for your replies! I didn't thought about that you have just 140 characters in a message on twitter. The URL to my Board already uses a lot space.

Bit.ly support would be great.

But my problem isn't solved yet. I uninstalled the plugin, reuploaded all files and obtained the tokens and keys from my app.
(2010-09-15, 05:00 PM)lordy333 Wrote: [ -> ]Thanks for your replies! I didn't thought about that you have just 140 characters in a message on twitter. The URL to my Board already uses a lot space.

Bit.ly support would be great.

But my problem isn't solved yet. I uninstalled the plugin, reuploaded all files and obtained the tokens and keys from my app.

When I first built this plugin, Twitter was automatically truncating the status message and converting to Bit.ly when needed. I hope they bring it back. I will have to test some more to see if they are still supporting this or if I need to adjust how the plugin works.
Yep, I have had similar problems. It definitely has something to do with the length and Twitter. bit.ly support or similar would be awesome. At times like this I wish I was a coder so I could sort it out for you!

Joined your forum by the way... Interesting stuff going on... Particularly like your patent-pending plugin! If you need any beta-testers let me know! Wink
Thanks. I just need to find the time to fix it. Its easy to do, just need to do it.
exception 'EpiTwitterForbiddenException' with message '{"request":"/1/statuses/update.json","error":"Status is over 140 characters."}' in /var/www/vhosts/pcpcforum.com/httpdocs/inc/plugins/mybbpublisher/twitter/EpiTwitter.php:258 Stack trace: #0 /var/www/vhosts/pcpcforum.com/httpdocs/inc/plugins/mybbpublisher/twitter/EpiTwitter.php(218): EpiTwitterException::raise(Object(EpiCurlManager), false) #1 /var/www/vhosts/pcpcforum.com/httpdocs/inc/plugins/mybbpublisher/twitter/EpiTwitter.php(119): EpiTwitterJson->__get('response') #2 /var/www/vhosts/pcpcforum.com/httpdocs/inc/plugins/mybbpublisher/twitter/EpiTwitter.php(41): EpiTwitter->request('POST', '/statuses/updat...', Array) #3 /var/www/vhosts/pcpcforum.com/httpdocs/inc/plugins/mybbpublisher.php(949): EpiTwitter->post('/statuses/updat...', Array) #4 /var/www/vhosts/pcpcforum.com/httpdocs/inc/plugins/mybbpublisher.php(523): mybbpublisher_tw_post_update(Array) #5 [internal function]: mybbpublisher_newthread(Object(PostDataHandler)) #6 /var/www/vhosts/pcpcforum.com/httpdocs/inc/class_plugins.php(142): call_user_func_array('mybbpublisher_n...', Array) #7 /var/www/vhosts/pcpcforum.com/httpdocs/inc/datahandlers/post.php(1230): pluginSystem->run_hooks_by_ref('datahandler_pos...', Object(PostDataHandler)) #8 /var/www/vhosts/pcpcforum.com/httpdocs/newthread.php(397): PostDataHandler->insert_thread() #9 {main}

problem Sad
same issue as above regarding the long message length. i will update the plugin when i can, i am swamped with work right now
Thanks man! Appreciate the hard work you do! It is I suspect often a thankless task so this post is partly a thankyou and also to explain about another bug! Anyway will carry on following this thread to see when you have had a chance to update! Smile

I disconnected MyBB from posting to Twitter and it kept saying that the post you have submitted has already been tweeted. This meant that the post wasn't properly created so my forum was littered with a few thread titles, with no actual posts as people tried a couple of times! Not sure if it might be better to allow people to post duplicates anyway, maybe that could be an option. At the moment I have had to turn your plugin off, which is a shame as it is pretty awesome and is definitely something I need!

Oh and one other thing for some reason I have the plugin listed twice in the list of plugins for settings, not sure how that could have happened, but it might have something to do with it!
You are welcome. Feedback is always appreciated by the plugin developers.

Having it listed twice is an issue and will cause it to run twice. I would suggest that you uninstall both and reinstall the latest version.

I can not stop the message about the duplicate status update as that is a response from Twitter. Their API is not very friendly. Its nothing I can control with the plugin.
[Bug] Tweet will be deleted once the thread has been edited... :s
(2010-09-26, 05:11 AM)darkly Wrote: [ -> ][Bug] Tweet will be deleted once the thread has been edited... :s

This is by design. If the thread is edited, the original tweet is removed and a new tweet is posted upon saving of the edits, but the new tweet only happens if the thread is still in a published forum.