The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Fully customize output (3 posts)

  1. Matt
    Posted 3 years ago #

    You have some options now for before/after tweet, etc... what would be really awesome would be to allow us to fully customize the html of a tweet as well.

    Something like giving us a textarea in the settings where we could put in something like the following:

    "<span>{tweetText}</span><a href="{tweetUrl}">{tweetTime}</a>"

    You could create a number of predefined variables based on the information in each tweet returned from the API call, plus a few custom ones to make it easier for us to insert them into the textarea.

    Also - can you create an option for relative times, in addition to specifying a date format (ala: http://stackoverflow.com/a/2690541)?


  2. Boštjan Cigan
    Plugin Author

    Posted 3 years ago #

    I'll try adding both, but I'm a little busy at the moment.


  3. Boštjan Cigan
    Plugin Author

    Posted 3 years ago #

    Sorry it took so long. The custom parameters are:

    {$tweet_text} - the text of the tweet
    {$tweet_time} - the time of the tweet
    {$tweet_location} - the location of the tweet (example: Budapest)
    {$profile_image} - the url to the profile image of the user
    {$user_real_name} - the real name of the user
    {$user_twitter_name} - username of the twitter user
    {$url} - website url of the user
    {$user_description} - description of the user
    {$user_location} - user location
    {$follower_count} - number of followers
    {$friends_count} - number of friends

    But you can check all that in version 1.3 in the "Advanced settings" section.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twitget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.