[bd] Social Share [Deleted]

Ok I do not see the External Accounts option do you want to come in and have a look
Strange. Since you have at least Facebook, you should see that page. Yes, please send me your site info via conversation. I will come by and take a look.
 
Well it is all setup now and I can share using the Staff Share at the bottome of the page but so far it does not seems to auto share those nodes that are setup to do this?

I am also still running errors on the facebook share

upload_2015-3-11_17-2-36.webp

Ok I am now at a loss as I cannot see what else I can try. I am able to share a thread using the staff share to facebook https://www.facebook.com/thegoodolddaysforum. However it will not auto share to either Facebook or twitter. I also run this error when I test it in the stup, however if I test each node by itself no errors run at all


upload_2015-3-11_18-38-49.webp

Here is the error it runs, you also still have ACP assess

Code:
Error Info
bdSocialShare_Exception_Interrupted: a:1:{s:5:"error";a:4:{s:7:"message";s:224:"Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Facebook has changed the session for security reasons.";s:4:"type";s:14:"OAuthException";s:4:"code";i:190;s:13:"error_subcode";i:460;}} - library/bdSocialShare/XenForo/ControllerAdmin/Tools.php:281
Generated By: DaveM, 3 minutes ago
Stack Trace

#0 /home4/davem/public_html/library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerAdmin_Tools->actionSocialShareTestFacebook()
#1 /home4/davem/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#2 /home4/davem/public_html/admin.php(13): XenForo_FrontController->run()
#3 {main}

Request State

array(3) {
  ["url"] => string(74) "http://www.goodolddaysforum.com/admin.php?tools/social-share/test/facebook"
  ["_GET"] => array(1) {
    ["tools/social-share/test/facebook"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["targetId"] => string(392) "The Good Old Days,encrypted,FUprYgjfEggPO/0H8vJB3+pxJREaFKmLG8+DVcLdovxhjjCc4vUpybu7F5TNbONjWtWDioNLuRoScywQiL9HjOuYIoWL7NLqbSPS3G1FsMrvrioMa4wNUIWNyaLZ8V+gzIyJs0uuO4S+9xsq7eTvSjkgfrYwROiVCP+y8PbUaLqGRyl+FTKl94xQSaTOiB6yR4apMqmpu2C9XlkAtf8OuolOeV6IVjSO+O+zz/RPzwqFKqnIVBZtWzxWEE1BL1fuIBNftOep9Je7xm+4L98IVfGeM1I60Pal+UWZIMrn6WZ8MTZVxGUdGgMwrhhWteQWNnDxt6D3tqEbDH+oEcT2Q7u+4cITqMW1dQ3SJbDJt3E="
    ["_xfRequestUri"] => string(37) "/admin.php?options/list/bdSocialShare"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
upload_2015-3-11_18-38-49.webp
 
Last edited:
When using the Staff Share option it will at times just bring up the popup box with very little information in it looking like this (This would be for this thread http://goodolddaysforum.com/threads/random-images-pre-1950s.6522/)

upload_2015-3-12_11-29-23.webp

It will then run the following errors

Code:
Server Error Log
Error Info
ErrorException: Undefined index: position - library/bdSocialShare/Shareable/Post.php:22
Generated By: DaveM, 3 minutes ago
Stack Trace

#0 /home4/davem/public_html/library/bdSocialShare/Shareable/Post.php(22): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home4/davem/pu...', 22, Array)
#1 /home4/davem/public_html/library/bdSocialShare/XenForo/ControllerPublic/Misc.php(91): bdSocialShare_Shareable_Post->getLink(Object(bdSocialShare_Model_Publisher))
#2 /home4/davem/public_html/library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerPublic_Misc->actionStaffShare()
#3 /home4/davem/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home4/davem/public_html/index.php(13): XenForo_FrontController->run()
#5 {main}

Request State

array(3) {
  ["url"] => string(290) "http://goodolddaysforum.com/misc/staff-share?url=http%3A%2F%2Fgoodolddaysforum.com%2Fthreads%2Frandom-images-pre-1950s.6522%2F&&_xfRequestUri=%2Fthreads%2Frandom-images-pre-1950s.6522%2F&_xfNoRedirect=1&_xfToken=1%2C1426152396%2Cc2a135c2ef18bab6fb39f2a023472421186c496f&_xfResponseType=json"
  ["_GET"] => array(5) {
    ["url"] => string(65) "http://goodolddaysforum.com/threads/random-images-pre-1950s.6522/"
    ["_xfRequestUri"] => string(38) "/threads/random-images-pre-1950s.6522/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(53) "1,1426152396,c2a135c2ef18bab6fb39f2a023472421186c496f"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
I still have not been able to resolve the above as yet.

Unless I am not reading this setup correctly I have the following Forums configured to override system, my staff area being one of them.

upload_2015-3-13_7-47-5.webp

So now it does not auto post if a new thread is created but will auto post if the Support `Thread Reply is enabled and the member has it selected in the reply option?

upload_2015-3-13_7-48-39.webp
 
When using the Staff Share option it will at times just bring up the popup box with very little information in it looking like this (This would be for this thread http://goodolddaysforum.com/threads/random-images-pre-1950s.6522/)

View attachment 100933

It will then run the following errors

Code:
Server Error Log
Error Info
ErrorException: Undefined index: position - library/bdSocialShare/Shareable/Post.php:22
Generated By: DaveM, 3 minutes ago
Stack Trace

#0 /home4/davem/public_html/library/bdSocialShare/Shareable/Post.php(22): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home4/davem/pu...', 22, Array)
#1 /home4/davem/public_html/library/bdSocialShare/XenForo/ControllerPublic/Misc.php(91): bdSocialShare_Shareable_Post->getLink(Object(bdSocialShare_Model_Publisher))
#2 /home4/davem/public_html/library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerPublic_Misc->actionStaffShare()
#3 /home4/davem/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home4/davem/public_html/index.php(13): XenForo_FrontController->run()
#5 {main}

Request State

array(3) {
  ["url"] => string(290) "http://goodolddaysforum.com/misc/staff-share?url=http%3A%2F%2Fgoodolddaysforum.com%2Fthreads%2Frandom-images-pre-1950s.6522%2F&&_xfRequestUri=%2Fthreads%2Frandom-images-pre-1950s.6522%2F&_xfNoRedirect=1&_xfToken=1%2C1426152396%2Cc2a135c2ef18bab6fb39f2a023472421186c496f&_xfResponseType=json"
  ["_GET"] => array(5) {
    ["url"] => string(65) "http://goodolddaysforum.com/threads/random-images-pre-1950s.6522/"
    ["_xfRequestUri"] => string(38) "/threads/random-images-pre-1950s.6522/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(53) "1,1426152396,c2a135c2ef18bab6fb39f2a023472421186c496f"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

I still have not been able to resolve the above as yet.

Unless I am not reading this setup correctly I have the following Forums configured to override system, my staff area being one of them.

View attachment 101011

So now it does not auto post if a new thread is created but will auto post if the Support `Thread Reply is enabled and the member has it selected in the reply option?

View attachment 101012

@xfrocks any chance of giving me some direction on these issues please.

Also does not auto share a RSS post this needs to be done via the staff share option.
 
Last edited:
Well it is all setup now and I can share using the Staff Share at the bottome of the page but so far it does not seems to auto share those nodes that are setup to do this?

I am also still running errors on the facebook share

View attachment 100869

Ok I am now at a loss as I cannot see what else I can try. I am able to share a thread using the staff share to facebook https://www.facebook.com/thegoodolddaysforum. However it will not auto share to either Facebook or twitter. I also run this error when I test it in the stup, however if I test each node by itself no errors run at all


View attachment 100875

Here is the error it runs, you also still have ACP assess

Code:
Error Info
bdSocialShare_Exception_Interrupted: a:1:{s:5:"error";a:4:{s:7:"message";s:224:"Error validating access token: Session does not match current stored session. This may be because the user changed the password since the time the session was created or Facebook has changed the session for security reasons.";s:4:"type";s:14:"OAuthException";s:4:"code";i:190;s:13:"error_subcode";i:460;}} - library/bdSocialShare/XenForo/ControllerAdmin/Tools.php:281
Generated By: DaveM, 3 minutes ago
Stack Trace

#0 /home4/davem/public_html/library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerAdmin_Tools->actionSocialShareTestFacebook()
#1 /home4/davem/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#2 /home4/davem/public_html/admin.php(13): XenForo_FrontController->run()
#3 {main}

Request State

array(3) {
  ["url"] => string(74) "http://www.goodolddaysforum.com/admin.php?tools/social-share/test/facebook"
  ["_GET"] => array(1) {
    ["tools/social-share/test/facebook"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["targetId"] => string(392) "The Good Old Days,encrypted,FUprYgjfEggPO/0H8vJB3+pxJREaFKmLG8+DVcLdovxhjjCc4vUpybu7F5TNbONjWtWDioNLuRoScywQiL9HjOuYIoWL7NLqbSPS3G1FsMrvrioMa4wNUIWNyaLZ8V+gzIyJs0uuO4S+9xsq7eTvSjkgfrYwROiVCP+y8PbUaLqGRyl+FTKl94xQSaTOiB6yR4apMqmpu2C9XlkAtf8OuolOeV6IVjSO+O+zz/RPzwqFKqnIVBZtWzxWEE1BL1fuIBNftOep9Je7xm+4L98IVfGeM1I60Pal+UWZIMrn6WZ8MTZVxGUdGgMwrhhWteQWNnDxt6D3tqEbDH+oEcT2Q7u+4cITqMW1dQ3SJbDJt3E="
    ["_xfRequestUri"] => string(37) "/admin.php?options/list/bdSocialShare"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
View attachment 100875
According to the error reported, looks like you changed your Facebook password. Therefore Facebook invalidates all the token and the add-on failed to publish to those Facebook Pages. What you need to do is reconfigure the auto-share by clicking the link and choose to add another account, during which you will be able to select which pages to add to XenForo, click save. The auto share should go through from now on.

I still have not been able to resolve the above as yet.

Unless I am not reading this setup correctly I have the following Forums configured to override system, my staff area being one of them.

View attachment 101011

So now it does not auto post if a new thread is created but will auto post if the Support `Thread Reply is enabled and the member has it selected in the reply option?

View attachment 101012
You have problem with auto-share because of the expired token issue that I have described above. When user check the box during replying to a thread, it is called manual-share. It works because manual-share and auto-share is simple 2 different features.
 
When using the Staff Share option it will at times just bring up the popup box with very little information in it looking like this (This would be for this thread http://goodolddaysforum.com/threads/random-images-pre-1950s.6522/)

View attachment 100933

It will then run the following errors

Code:
Server Error Log
Error Info
ErrorException: Undefined index: position - library/bdSocialShare/Shareable/Post.php:22
Generated By: DaveM, 3 minutes ago
Stack Trace

#0 /home4/davem/public_html/library/bdSocialShare/Shareable/Post.php(22): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home4/davem/pu...', 22, Array)
#1 /home4/davem/public_html/library/bdSocialShare/XenForo/ControllerPublic/Misc.php(91): bdSocialShare_Shareable_Post->getLink(Object(bdSocialShare_Model_Publisher))
#2 /home4/davem/public_html/library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerPublic_Misc->actionStaffShare()
#3 /home4/davem/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home4/davem/public_html/index.php(13): XenForo_FrontController->run()
#5 {main}

Request State

array(3) {
  ["url"] => string(290) "http://goodolddaysforum.com/misc/staff-share?url=http%3A%2F%2Fgoodolddaysforum.com%2Fthreads%2Frandom-images-pre-1950s.6522%2F&&_xfRequestUri=%2Fthreads%2Frandom-images-pre-1950s.6522%2F&_xfNoRedirect=1&_xfToken=1%2C1426152396%2Cc2a135c2ef18bab6fb39f2a023472421186c496f&_xfResponseType=json"
  ["_GET"] => array(5) {
    ["url"] => string(65) "http://goodolddaysforum.com/threads/random-images-pre-1950s.6522/"
    ["_xfRequestUri"] => string(38) "/threads/random-images-pre-1950s.6522/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(53) "1,1426152396,c2a135c2ef18bab6fb39f2a023472421186c496f"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
This looks like a conflict issue. I will have to take a closer look and report back to you.
 
Styling issue.
bdsocialshare.css
Should be:
HTML:
.bdSocialShare_StaffShareLink.shareControl a
{
    margin-right: 5px;
}
Instead of: margin: 0 5px;
 
I think this is a bug:
Server Error Log

Error Info
bdSocialShare_Exception_Interrupted: {"error":{"message":"(#100) description parameter cannot be longer than 10000 characters.","type":"OAuthException","code":100}} - library/bdSocialShare/Model/Facebook.php:133
Generated By: Unknown Account, Yesterday at 3:20 PM

Stack Trace
#0 /library/bdSocialShare/Model/Publisher.php(111): bdSocialShare_Model_Facebook->publish('193315974056473', Object(bdSocialShare_Shareable_Post), 'CAAHDZB8o5U1wBA...')
#1 /library/bdSocialShare/Model/Publisher.php(24): bdSocialShare_Model_Publisher->facebookPublish('Pinoy Latest Te...', Object(bdSocialShare_Shareable_Post), Array)
#2 /library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('facebook', 'Pinoy Latest Te...', Object(bdSocialShare_Shareable_Post), Array)
#3 /library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_Post), Array, false, Array)
#4 /library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.9202098846436)
#5 /library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.9202098846436, '')
#6 /library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9202098846436, '', false)
#7 /library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /deferred.php(23): XenForo_Model_Deferred->run(false)
#9 {main}

Request State
array(3) {
["url"] => string(36) "/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(30) "/members/xivic.316645/trophies"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
Error :(
Hata Bilgisi
bdSocialShare_Exception_NotConnected: [bd] Social Share Exception - library/bdSocialShare/Model/Publisher.php:74
Oluşturan: Bilinmeyen Hesap, Bugün: 01:43
Yığın İzleme
#0 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/Publisher.php(24): bdSocialShare_Model_Publisher->facebookPublish('1', Object(bdSocialShare_Shareable_Trophy), Array)
#1 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('facebook', '1', Object(bdSocialShare_Shareable_Trophy), Array)
#2 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_Trophy), Array, false, Array)
#3 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.9999969005585)
#4 /var/www/vhosts/cepedit.com/httpdocs/library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.9999969005585, '')
#5 /var/www/vhosts/cepedit.com/httpdocs/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#6 /var/www/vhosts/cepedit.com/httpdocs/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 /var/www/vhosts/cepedit.com/httpdocs/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}
Request State
array(3) {
["url"] => string(31) "http://cepedit.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(36) "/forum/android-uygulamalar%C4%B1.57/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
2. Error
bdSocialShare_Exception_Interrupted: {"error":{"message":"(#200) The user hasn't authorized the application to perform this action","type":"OAuthException","code":200}} - library/bdSocialShare/Model/Facebook.php:133
Oluşturan: Bilinmeyen Hesap, Dün 21:41
Yığın İzleme
#0 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/Publisher.php(111): bdSocialShare_Model_Facebook->publish('529092467231747', Object(bdSocialShare_Shareable_Trophy), 'CAAHNnZC1FN5IBA...')
#1 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/Publisher.php(24): bdSocialShare_Model_Publisher->facebookPublish('1', Object(bdSocialShare_Shareable_Trophy), Array)
#2 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('facebook', '1', Object(bdSocialShare_Shareable_Trophy), Array)
#3 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_Trophy), Array, false, Array)
#4 /var/www/vhosts/cepedit.com/httpdocs/library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.9999980926514)
#5 /var/www/vhosts/cepedit.com/httpdocs/library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.9999980926514, '')
#6 /var/www/vhosts/cepedit.com/httpdocs/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999980926514, '', false)
#7 /var/www/vhosts/cepedit.com/httpdocs/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /var/www/vhosts/cepedit.com/httpdocs/deferred.php(23): XenForo_Model_Deferred->run(false)
#9 {main}
Request State
array(3) {
["url"] => string(31) "http://cepedit.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(50) "/forum/android-%C4%B0nternet-uygulamalar%C4%B1.72/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Is there a solution?
 
This add on does not work with the XF Resources add on.

Code:
    Error Info
    ErrorException: Fatal Error: Call to a member function getModelFromCache() on a non-object - library/bdSocialShare/Shareable/XenResource/Resource.php:93
    Generated By: DaveM, A moment ago
    Stack Trace

    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}

    Request State

    array(3) {
      ["url"] => string(35) "http://mycatchat.com/resources/save"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(20) {
        ["resource_category_id"] => string(1) "2"
        ["prefix_id"] => string(1) "1"
        ["title"] => string(19) "Caring for your cat"
        ["version_string"] => string(0) ""
        ["tag_line"] => string(19) "Caring for your cat"
        ["resource_file_type"] => string(3) "url"
        ["download_url"] => string(76) "http://www.cats.org.uk/documents/cat-care-leaflets-2013-eg01caringforyourcat"
        ["message_html"] => string(378) "<p><img exify_intitialized="true" src="http://thepetproductguru.com/wp-content/uploads/2012/08/Cat-brushed.jpg" alt="[IMG]" unselectable="on">&nbsp;<br></p><p><br></p><p>Cats can be independent souls and are great
    pets for people with busy lifestyles, but they still need to be looked
    after. Keep your cat happy and healthy by following this advice</p><p><br></p><p><br></p>"
        ["_xfRelativeResolver"] => string(34) "http://mycatchat.com/resources/add"
        ["attachment_hash"] => string(32) "bc4233ed8569fa58f4133bc145b2f48d"
        ["custom_fields"] => array(1) {
          ["Source"] => string(62) "http://www.cats.org.uk/cat-care/care-leaflets/essential-guides"
        }
        ["custom_fields_shown"] => array(1) {
          [0] => string(6) "Source"
        }
        ["external_url"] => string(0) ""
        ["alt_support_url"] => string(23) "http://www.cats.org.uk/"
        ["_bdSocialShare_enabled"] => array(1) {
          ["_default"] => string(1) "1"
        }
        ["_bdSocialShare_included"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfRequestUri"] => string(14) "/resources/add"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }

    

My Forums TriumphTalk and M
 
@xfrocks with all the issues I have been having with this add on I have now just removed it from my forum, so for me this one was really a bust not even being able to used it any more :(
 
@xfrocks with all the issues I have been having with this add on I have now just removed it from my forum, so for me this one was really a bust not even being able to used it any more :(
May be Xfrock bd socialshare stop to develop. We have to wait until an alternative plugin released :(
 
Last edited:
May be Xfrock bd socialshare She stop to develop. We have to wait until an alternative plugin released :(
He had issue with Facebook Review process and couldn't get his app approved for the required permissions. The add-on is still being maintained.
 
Top Bottom