Topic-icon Social Stream module doesn't pick up the picture from tweet

Active Subscriptions:

None
Hello,

I've upgraded to the latest version of JFBConnect and now in my social stream some tweets are posted without an image. Facebook posts look okay, but some tweets don't pick up the image. For example, the tweet from December 1st or November 20. If you click the link, you see that tweet has a picture, but it is not displayed in the module on my website. Also clicking the link opens Twitter or Facebook in the same window, but before it was opening in a new one.
Would you help me to fix it please?
website: snowflakedesigns.co.uk/

Thank you.
The topic has been locked.
Support Specialist
7 years 5 months ago - 7 years 5 months ago #60379 by mel
The article for the December post is snowflakedesigns.co.uk/shop/little-black-dress-range but it does not look like there is a twitter:image tag on the page. There were some changes made for Twitter Card settings in the latest JFBConnect version, so it's possible there's an issue that was introduced.

Could you let me know the settings that you have configured for JFBConnect > Social Meta:
* Twitter Cards
* "Multiple og:image Tags" setting
* "Image Size Tags" setting

Is this a regular Joomla content article or a K2 Item? If so I would suggest enabling the corresponding 'Open Graph' plugin. JFBConnect should then try to pick an image for the twitter:image tag automatically. If you want fuller control over the image, you can then create an object in the JFBConnect > Social Meta > Objects area. This will give you an easy way to tell JFBConnect how to add the image tags to the articles (without having to do the SCOpenGraph easy-tag that you're asking about in your other post).

-Melissa
Last edit: 7 years 5 months ago by mel.
The topic has been locked.
Active Subscriptions:

None
Hi Melissa,

thank you for the reply.

So my settings are those:

* Twitter Cards - enabled
* "Multiple og:image Tags" setting - Yes
* "Image Size Tags" setting - No.

Shall I change the last one to Yes?

So there are two types of content that is shown differently when it's being posted on Twitter:
1. Sharing the website page on Twitter (like the post 1 Dec 2016 - it's a Little Black Dress Range page, a VirtueMart category page, you can see it when you click on that tweet from the Social stream module on the home page. No picture in the Social stream module since there's no og:image assigned for this page. Note, that the tweet is opened in the same window, not a new one)
2. Posting a simple tweet with a picture (no problem with a pic in Social Stream of course, but Twitter is being opened in the same window again)

Facebook - when I share a Joomla article on Facebook, I have no prob with the pic, but the link leads to the joomla article, not to the post on Facebook (post on 8 Dec 2016 for example). But then today I posted a link from another website and I see my logo as a picture for the post :( and it leads again to this another website, not my FB post on my page.

Would you pls help me to fix this.
Thank you!
The topic has been locked.
Support Specialist
The tweet with the Little Black Dress is a link to your page. Twitter is showing a preview of the page. Even if you aren't setting and Open Graph or Twitter Card tags on your page, Twitter will scan the page and try to come up with a preview on their own.

For link previews, Twitter does not send back the image when we try to fetch your feed. That's just how it works. Twitter will only return the image when the image was directly inserted into the Tweet. As you can see in the social stream, there are other tweets where the image shows, but those are image tweets.

I hope that helps, but if you need anything else, please let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

One thing I've noticed recently is that when pulling from the twitter feed to the social stream is that any posts that are retweets are not picked up, it only displays ones that are original content generated by me. This is quite a recent phenomenon, as it used to pull all tweets and display them in the social stream but now that is not the case. You can clearly see this is you look at the social stream on the webpage and what is displayed on my twitter account. Additionally, even if the tweet is displayed, if a user clicks on it, it opens in the main window rather than opening in a separate window so the user experience is not ideal - is this something you can look into please and come back to me with any options to modify?
The topic has been locked.
Support Specialist
The latest release of JFBConnect has an option in the Channel Configuration for "Include Retweets". Some users didn't want them to display, so we added an option. Simply update that setting and it should start working like you want.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks Alex!
My configuration was set to Include Retweets in the first place, but it didn't include them. So I changed the settings to No, saved, and then changed to Yes again - then it started to include retweets.
The last question - when I click on the link in retweets or the link in the tweets (not the picture) - it opens in the SAME window (not in the new window) - it happens only with Twitter, not Facebook. Would you help to fix this issue please?
Thank you.
The topic has been locked.
Support Specialist
Glad we could help with the retweets issue.

As for the Twitter links, I'm unsure why that would be happening. If you view the theme file for how to display tweets in the /media/sourcecoast/themes/scsocialstream/twitter.php file, you'll see that all "a href" tag have the 'target="_blank" attribute. That should open them in a new window.

The only thought I have is that Twitter is sending the link in the tweet like that and there's nothing we can do to alter the link itself.

Just to make sure, you haven't altered the theme for how the Tweets should be shown, correct? It doesn't look like it, but just want to make sure.

Thanks,
Alex
The topic has been locked.