[bd] Social Share [Deleted]

@xfrocks

I get the following error when trying to post to twitter / facebook using XMG...
Code:
Error Info
bdSocialShare_Exception_NotConnected: [bd] Social Share Exception - library/bdSocialShare/Model/Publisher.php:74
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 public_html/library/bdSocialShare/Model/Publisher.php(24): bdSocialShare_Model_Publisher->facebookPublish('me', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#1 public_html/library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('facebook', 'me', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#2 public_html/library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_XenGallery_Media), Array, false, Array)
#3 public_html/library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.99999880791)
#4 public_html/library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.99999880791, '')
#5 public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999880791, '', false)
#6 public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}
Request State
array(3) {
  ["url"] => string(37) "http://www.domain-name.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(10) "/admin.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Code:
Server Error Log
Error Info
bdSocialShare_Exception_NotConnected: [bd] Social Share Exception - library/bdSocialShare/Model/Publisher.php:150
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 public_html/library/bdSocialShare/Model/Publisher.php(30): bdSocialShare_Model_Publisher->twitterPublish('1', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#1 public_html/library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('twitter', '1', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#2 public_html/library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_XenGallery_Media), Array, false, Array)
#3 public_html/library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.99999785423)
#4 public_html/library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.99999785423, '')
#5 public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999785423, '', false)
#6 public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}
Request State
array(3) {
  ["url"] => string(37) "http://www.domain-name.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(59) "/photo-gallery/all-star_race_through_the_years_15.1743/edit"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Thanks,
Itworx4me
 
Minor Issue:
<xen:require js="js/bdSocialShare/buttons.js" /> should be loaded for login members only, not for the guest.
 
@xfrocks

I get the following error when trying to post to twitter / facebook using XMG...
Code:
Error Info
bdSocialShare_Exception_NotConnected: [bd] Social Share Exception - library/bdSocialShare/Model/Publisher.php:74
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 public_html/library/bdSocialShare/Model/Publisher.php(24): bdSocialShare_Model_Publisher->facebookPublish('me', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#1 public_html/library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('facebook', 'me', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#2 public_html/library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_XenGallery_Media), Array, false, Array)
#3 public_html/library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.99999880791)
#4 public_html/library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.99999880791, '')
#5 public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999880791, '', false)
#6 public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}
Request State
array(3) {
  ["url"] => string(37) "http://www.domain-name.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(10) "/admin.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Code:
Server Error Log
Error Info
bdSocialShare_Exception_NotConnected: [bd] Social Share Exception - library/bdSocialShare/Model/Publisher.php:150
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 public_html/library/bdSocialShare/Model/Publisher.php(30): bdSocialShare_Model_Publisher->twitterPublish('1', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#1 public_html/library/bdSocialShare/Model/ShareQueue.php(77): bdSocialShare_Model_Publisher->publish('twitter', '1', Object(bdSocialShare_Shareable_XenGallery_Media), Array)
#2 public_html/library/bdSocialShare/Model/ShareQueue.php(196): bdSocialShare_Model_ShareQueue->publish(Object(bdSocialShare_Shareable_XenGallery_Media), Array, false, Array)
#3 public_html/library/bdSocialShare/Deferred/ShareQueue.php(10): bdSocialShare_Model_ShareQueue->runQueue(7.99999785423)
#4 public_html/library/XenForo/Model/Deferred.php(294): bdSocialShare_Deferred_ShareQueue->execute(Array, Array, 7.99999785423, '')
#5 public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999785423, '', false)
#6 public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#8 {main}
Request State
array(3) {
  ["url"] => string(37) "http://www.domain-name.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(59) "/photo-gallery/all-star_race_through_the_years_15.1743/edit"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Thanks,
Itworx4me
This happened because you have the buttons show up for not connected users. They can be safely ignored because users will see a notice at the top of every page to connect their accounts anyway.
 
This happened because you have the buttons show up for not connected users. They can be safely ignored because users will see a notice at the top of every page to connect their accounts anyway.
I have everything set correctly and still get this error.....
 
Hi @xfrocks

Two very cool suggestions:
  • Plz make a moderation queue feature for sharing Topics from XF to Facebook or Twitter. What usually happens is members posts topic which we don't want to post to FB page.. we want to pick and choose which topics to be shared (something like moderation queue)
  • Can you plz add this feature to import topics, comments, pic from Facebook public groups? I think there's already a FB API for this... bacsue ******* just released an addon http://*******.com/resources/facebook-group-to-xenforo.288/
 
Hi @xfrocks

Two very cool suggestions:
  • Plz make a moderation queue feature for sharing Topics from XF to Facebook or Twitter. What usually happens is members posts topic which we don't want to post to FB page.. we want to pick and choose which topics to be shared (something like moderation queue)
  • Can you plz add this feature to import topics, comments, pic from Facebook public groups? I think there's already a FB API for this... bacsue ******* just released an addon http://*******.com/resources/facebook-group-to-xenforo.288/
That's some good ideas. I'm not sure about the import though, since it is a bit out of scope for this add-on.
 
I'm not sure about the import though, since it is a bit out of scope for this add-on.
make a separate add-on. I am sure there will be lots of demand for this as Facebook has been eating up all activities from forum.... if we can feed those comments from facebook that will be big win-win in this Facebook-eat-forum-world.
 
make a separate add-on. I am sure there will be lots of demand for this as Facebook has been eating up all activities from forum.... if we can feed those comments from facebook that will be big win-win in this Facebook-eat-forum-world.
I have done that before (with vBulletin) and it has proven to be a bad idea at the time. Facebook and forum are really different media. They do have some overlaps but people expect different things from each of them.
I will see what I can do now...
 
Ok, after @RoldanLT answer I bought and installed the add-on.

I just want it basically to "auto-share" threads on a facebook page. After creating a facebook app, configuring xenforo facebook integration, and adding a shared account, I found that I could only choose the timeline.

It seems I don't have the required permissions on my facebook app and I need to make a submission, but I want to make it right, so if someone has experience on this, I'm very open (uuuh...) to suggestions:

First, I selected these permissions:

- publish_pages
- publish_actions
- manage_pages

Is that okay or do I need to add another one?

Second, I need to include 4 screenshots. Can I upload just the example screenshots from xfrocks?

And that's it. I suppose the autoshare threads feature will publish the entries on the page using the "page name" as author and not the user account, so it doesn't violate facebook policy.

Thank you :)
 
Top Bottom