We've got answers!
If you add a link and also send that link to twitter, it doesn't display properly.
That was a separate issue - a minify problem.
This is different. The issue here is the way the post shows up on Twitter - garbled.
Ah, thanks for the clarification. I didn't quite see what was going on at first. It looks like the raw shortcode is getting sent/displayed. Let me run this by one of the developers.
What David said is exactly what's happening. When the activity post is about to be saved, Buddystream intercepts it and posts it to Twitter as it is, without any processing, so the shortcodes from the Activity Plus plugin remain unprocessed. This behavior would affect any other shortcode in the post too, so it's more of a Buddystream issue, IMHO.
Unfortunately, Buddystream doesn't call any (custom) filter on the content prior to sending it out, so I'm still not sure how to tackle this issue on the Activity Plus side. Solving it within Buddystream would be easy, it could either clear any and all shortcodes from the post prior to sending it or, better yet, apply a filter to it just before it sends it out, so plugins can register for that and clean up after themselves. However, from the outside, I still haven't figured out a way to do it right.
As an immediate workaround, you may want to avoid using both "to Twitter" Buddystream option and Activity Plus. Once the activity post is posted, sharing it on Twitter with Buddystream will work properly.
Thanks guys. I've started a thread at bp.org to share this with the buddystream developers.
Looks like the developer's keen on getting the 2 plugins working together, which is awesome! We'll have to keep an eye on that thread for the update!
Thanks for having done that, I'm sure others will find the integration useful as well.
Find out more »
or login with
Lost your password?
Create an account