Conversation
supportI just also recognized this bug – that the twitter link is cut of (on your demo site links are e.g. shown lik http://www.twitter.com//status/530754236414701568 – there is the twitter-username before “status” missing and therefore the link is 404 ) http://buddystream.net/activity/ Can you pls. fix it! https://wordpress.org/plugins/buddystream/
I had the same problem. This is a bit of a hack, but the way I fixed it was to go into the import.php file which is located in the main/top directory of the Buddystream folder, or the buddystream-premium folder. If you look for this line in import.php 'actionlink' => 'http://www.twitter.com/' . $screenName . '/status/' . $tweet->id …you can change it to your twitter screen name. E.g., if your twitter screen name is ‘billgates’, then you would change the code to: 'actionlink' => 'http://www.twitter.com/billgates/status/' . $tweet->id This will fix storing the proper url for all *future* imported tweets.
@rocketboom thanks for the suggestion — this should work for one account. But for different account the $screenName is still returning empty. Any idea ?
I had the same problem. This is a bit of a hack, but the way I fixed it was to go into the import.php file which is located in the main/top directory of the Buddystream folder, or the buddystream-premium folder. If you look for this line in import.php 'actionlink' => 'http://www.twitter.com/' . $screenName . '/status/' . $tweet->id …you can change it to your twitter screen name. E.g., if your twitter screen name is ‘billgates’, then you would change the code to: 'actionlink' => 'http://www.twitter.com/billgates/status/' . $tweet->id This will fix storing the proper url for all *future* imported tweets.
@rocketboom thanks for the suggestion — this should work for one account. But for different account the $screenName is still returning empty. Any idea ?