Support » Plugin: TweetScroll Widget » Retweet profile picture

  • Resolved dgmdata

    (@dgmdata)


    Hi,

    Great plugin.

    Is it possible for me to make a modification in the code to display the real”profile image” of a Retweet ?

    Currently, in the tweet feed, all the tweets show my Twitter account logo.

    I would like the retweet to show the original twitter image account.

    Regards

    Daniel

    https://wordpress.org/plugins/tweetscroll-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pixel Industry

    (@vmrkela)

    Hi,

    It probably can be done. I am not sure that profile image is returned when requesting API. You can check what is returned and modify HTML based on that:

    https://dev.twitter.com/rest/tools/console

    Vladimir

    This is a simple solution for

    at line 265:

    var profileImage = item.user.profile_image_url;
        if (item.retweeted == true) {
        profileImage = item.retweeted_status.user.profile_image_url;
        }

    I did this for my customer, I suggest you implement it.

    Regards,

    Louis Racicot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Retweet profile picture’ is closed to new replies.