If you run your own website or blog and would like your visitors to be able to show their appreciation for your content by buying you a drink, you can add one of our cool buttons to your site. We think of it as Flattr for beer! Its easy to install and will link directly to our buy a drink page with all your information already filled in.
Feel free to mix and match the options below as they should all degrade gracefully. Let us know if you have any other suggestions: tech at buddybeers dot com
Showing a name in the button:
name=trueparameter to the script tag’s src attribute.
name=The%20Buddy%20Beers%20Staffwill result in a button that says “Buy The Buddy Beers Staff a Beer”
Showing a drink name in the button:
price_id) to the script tag’s src attribute the price name will be displayed in the button. Also, upon click, the user will be redirected to the buy a beer form with the correct drink and bar chosen. For example, passing
price_id=385will result in a button that reads “Buy me a Carlsberg” and that links to the buy a beer page with The Buddy Beers Office Bar and 1 Carlsberg chosen. Price IDs can be fetched via our API.
drink=A%20Cold%20Onewill result in a button text of “Buy me A Cold One.” This method can also be used to override the drink name when passing a
price_id(as mentioned above). For example passing
price_id=385&drink=a%20frosty%20Carlsbergwill result in a button with the text “Buy me a frosty Carlsberg” but that still links to the form with the appropriate bar and drink chosen.
Linking to a specific bar:
If you pass in an id for any bar in our database as a parameter (
location_id) to the script tag’s src attribute the bar will be automatically selected when the user clicks through from the button. For example passing
location_id=272 will link the user to the buy a beer form with the Buddy Beers Office Bar automatically chosen. Bar IDs can be fetched from our API.
L'ultimo aggiornamento della pagina è avvenuto il: 1 May 2013