WordPress.org

Ready to get started?Download WordPress

Forums

WP to Twitter
What option do I choose for YOURL shortening? (9 posts)

  1. Dawa1
    Member
    Posted 1 year ago #

    Hello,

    I am using your plugin, and it looks like it is posting, but I have two problems fully utilizing it. The first one is with the YOURL shortening. It works on my blog, and I am using the YOURL plugin by OZH to show urls in posts and such. However, when I tested it by making a new post, it did not work with the shortener, even though I have the API information and verified the password. It gives me the message that it was not able to shorten using my shortener.

    I tried using the three options with YOURL in your plugin, but I can not get it to work by posting the short links.

    I have YOURLS on mysite.com/this-directory/ since I have a WordPress install on my site.com and I have WordPress MultiSite on mysite.com/another-directory/site1
    I also have a plugin for YOURLS to make the short urls bit.ly like, so it adds letters to the end like so, mysite/this-directory/d8ty1s

    I would greatly appreciate help with this, as it's one of those moments where I feel like my brain will jump out of my head.

    Thanks.

    http://wordpress.org/extend/plugins/wp-to-twitter/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    WP to Twitter interacts with the stand-alone installation of Yourls; it doesn't have any awareness of the Yourls plug-in in WordPress; so that plug-in won't have any bearing on what WP to Twitter does.

    It sounds like you have the plug-in installed on your local directory, so you'll need to use that information.

    There are only 2 options for setting up YOURLS in WP to Twitter, so I'm not sure where you're coming up with three?

  3. Dawa1
    Member
    Posted 1 year ago #

    I will give it a try for the local directory as well, for some reason I was having issues with a different plugin so I just used the remote API on both. I'll try the local directory.

    As for the options, I meant these;

    • Post ID for YOURLS url slug.
    • Custom keyword for YOURLS url slug.
    • Default: sequential URL numbering.
  4. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    I see; you're talking about the set up what types of URL to use. If you're using a custom plug-in in YOURLS to generate the types of URL you want, then you probably want to leave that at default. But first you need to get it configured to work at all; until then, that setting won't really be relevant to you.

  5. Dawa1
    Member
    Posted 1 year ago #

    So I've had a few days to play with this, and here is the weird thing.

    It still doesn't work when I submit posts, it gives me a notification that my service is not working correctly. However, when I went to the bottom of the plugin setup page, to run the test, it sent out a tweet to my Twitter account, with a shortened link to my WordPress MultiSite install. The Tweet showed up on my page, with the short YOURL, and the feedback I got from the plugin was that the short URL worked, my server supports this, and that everything is set up...

    I tried doing another post to see if it will work, but nope, that didn't work...

  6. Dawa1
    Member
    Posted 1 year ago #

    This is the error message I see;

    The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues.

  7. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    What's your permalink format in WordPress? What settings did you end up using with YOURLS? Does it make a difference if you change those? What happens if you disable the YOURLS plug-in that makes the URLS bit.ly like? I'm wondering if there's a conflict with that YOURLS plug-in.

  8. Dawa1
    Member
    Posted 1 year ago #

    I haven't tried turning it off. I'm too scared that it might break the rest of my site :D. It's still strange that it works with the test, and it gives me this message after running the test;

    WP to Twitter successfully contacted your selected URL shortening service. The following link should point to your blog homepage: sitename.com/s/qd4gi
    WP to Twitter successfully submitted a status update to Twitter.
    Your server should run WP to Twitter successfully.

    Permalinks structure I am using is sitename.com/WPMultiSiteMainDirectory/ThisSite/%postname%/

    As of now I just left it as is. It gets the post name, and then puts the full url link in there. It misses the category and tags, I think that's because my theme uses "ecategory" for category and "etags" for tags. So it's unique parameters

  9. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, that would be right - category and tags refers specifically to the taxonomies 'category' and 'tags', and not to other taxonomies that behave similarly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.