My Random Quote Machine <good,could be better, terrible?>

Here is a link to my just completed Random Quote Machine:

Your feedback is welcome. Thanks.

1 Like

These are some fun quotes, and it runs smooth.

This is what I saw when I tried to tweet:
Minds are like parachutes. They only function when open. Source:Thomas Dewar #quotes

I don’t think you want to send #quotes to twitter.

1 Like

Actually I did, as an hashtag. I included it in the twitter api link. You can check it in the js section if you want.

You are sending the words #quotes, when you only want to send the quote and author.

Try something like this: (“” +quote + " " +author);

I wanted to send the quote and the author. But I also wanted the tweet to have the hashtag #quotes, So that when the user tweets it, displays:
Quote… Source:… #quotes

Ok, that makes sense. Then you may need to add the actual url instead of hashtag.
Let me look again.


I see what you are trying to do: I’m not sure why it is not showing the actual link …

hashtags optional
Allow easy discovery of Tweets by topic by including a comma-separated list of hashtag values without the preceding # character.

Example Value: nature,sunset

url optional
A fully-qualified URL with a HTTP or HTTPS scheme, URL-encoded. The provided URL will be shortened with Twitter’s to the number of characters specified by short_url_length.

Example Value:

Oh, you meant on the website? I actually got the idea from the project example page. If you hover over the tweet button, you’ll see the link.

I see what you are saying. I guess I’ve just never seen it before.

I don’t look at the example page, I just follow the user stories:
User Story: I can click a button to show me a new random quote.
User Story: I can press a button to tweet out a quote.

Okay, then. It looks good. The quotes are good, and the tweet button works.

Hey, you can’t tweet the first quote?

I was able to:

But clicking on #quotes took me here:

I expected it would take me to the orginal url.

1 Like

That’s normal behaviour for a hashtag, I believe.

I think you are right. It is a good reminder of where expectations lead…

you were transferred to your own twitter account. And from there, everything works like twitter should.

I uh, used it as a placeholder, before users click the new quote button. I’ll see about fixing that Ben.

That makes sense. Thank you.