WordPress.org

Ready to get started?Download WordPress

Forums

Simple Twitter Tweets
[resolved] incorrect twitter link (8 posts)

  1. asplespng
    Member
    Posted 1 year ago #

    Hi,
    When clicking on the link at the bottom of each tweet (time posted) I am led to someone else's twitter page. Interestingly, the person's twitter handle begins with the same 3 letters as mine. I resolved this issue by re-entering my twitter name in the widget settings and clicking save. However, the problem has re-appeared in my most recent tweets. Saving my settings again resolved the issue once more.

    http://wordpress.org/extend/plugins/simple-twitter-tweets/

  2. asplespng
    Member
    Posted 1 year ago #

    Just to clarify after some troubleshooting. Whenever a new tweet is posted, the links in all tweets are changed back to http://www.twitter.com/abc (e.g. if my twitter name is @abcdef). When i re-save the widget settings, the links are set correctly to http://www.twitter.com/@abcdef (note @ symbol now present) until the next tweet is posted.

  3. Planet Interactive
    Member
    Plugin Author

    Posted 1 year ago #

    Hi asplespng,

    I'm not sure I understand you problem.

    Twitter URL links to accounts should be http://twitter.com/abc - their should not be an @ symbol in the URL.

    In the widget settings the Twitter Name should be entered without the @ symbol.

    If you are experiencing some other issue not resolved by the comment above, do let us know.

  4. asplespng
    Member
    Posted 1 year ago #

    Sorry I'll try to explain. I removed the @ symbol now but still experience the same problem. The problem is that the twitter name is shortened.
    -I enter abcdefghij (not my actual name) in the twitter name field in the widget settings.
    -The url at the end of each tweet is shortened to http://twitter.com/abc (i.e. someone else's twitter page)
    -the problem is sometimes temporarily resolved by manually clicking save in the widget settings 1 or more times, but reappears on the next import (after 5 minutes or whatever the widget is set to)
    Thank you for your help.

  5. Planet Interactive
    Member
    Plugin Author

    Posted 1 year ago #

    When refreshing the widget simply communicates with Twitter and pulls you most recent Tweets. The widget does not change your Twitter username.

    Also, just for clarity, their is no shortening occurring within the code for the user name.

    IMPORTANT: Please ensure you are using your Twitter username and not "your name" their should be no spaces or special characters (except _ ) in your username e.g. our Twitter Name is "Planet Interactive" but our username is iPlanetUK.

    Your username is the name you use to login at Twitter.

    Hope this helps and sorry if you know all this already.

  6. joshuacook13
    Member
    Posted 1 year ago #

    I came up with the same problem. Here is my solution:

    simple-twitter-tweets.php, after line 206, add this line
    $screen_name = $tweet->user->screen_name;

    Then in the same file, change the link on line 244 from this:
    <a href="http://www.twitter.com/<?php echo $name; ?>

    to this:
    <a href="http://www.twitter.com/<?php echo $screen_name; ?>

    It works fine for me!

  7. Planet Interactive
    Member
    Plugin Author

    Posted 1 year ago #

    Hi joshuacook13

    Thanks for the suggestion. Your line numbers don't seem to match up with our code though we get the idea as this is in line with a previous release we had ;)

    Will roll out in next release with some of the other aspects we're working on.

    If you want to send through your code for our diff feel free support@planet-interactive.co.uk

    Thx

  8. Planet Interactive
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed in v1.3 thanks for the spot.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.