Skip to content
Snippets Groups Projects
Commit ad5a59a1 authored by lucha's avatar lucha
Browse files

removed flattr plugin

parent df01da35
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 1189 deletions
/*
Document : flattr
Created on : Dec 27, 2011, 2:28:15 AM
Author : Michael
*/
#icon-options-general.icon32.flattr {
background-image: url('img/flattr_button.png');
background-position: center center;
background-repeat: no-repeat;
}
th {
text-align: right;
vertical-align: top;
}
td {
vertical-align: top;
}
td input {
margin-right: 8px;
}
.flattr-wrap table.form-table li iframe,
.flattr-wrap table.form-table li img {
vertical-align: middle;
}
.flattr-wrap span.inactive {
color: gray;
}
.flattr-wrap span.active:before {
content : " ";
}
.flattr-wrap div#dialog {
display: none;
}
.flattr-server-check {
font-weight: bold;
}
.flattr-server-check.failed {
color: red;
}
.flattr-server-check.passed {
color: green;
}
.flattr-server-check.warn {
color: yellow;
}
#dialog ol li {
list-style-type :decimal-leading-zero;
}
\ No newline at end of file
This diff is collapsed.
<?php
require_once dirname(__FILE__) . '/lib/httpconnection.php';
require_once dirname(__FILE__) . '/lib/httpresponse.php';
require_once dirname(__FILE__) . '/lib/oauth2client.php';
\ No newline at end of file
# Sample code to use the Flattr v2 web API
to get up and running:
the oauth2client uses httpconnection and httpresponse which wrapps the curl php bindings.
if you are using a server with apt you can install it by
apt-get install php5-curl
## public api call
$client = new OAuth2Client(array('base_url' => 'https://api.flattr.com/rest/v2'));
$thing = $client->getParsed('/things/423405/');
var_dump($thing); // array
## minimal sample code
create an API key at https://flattr.com/apps
make sure you add a correct callback\_url it should be something like http://url-to-your-vhost/callback.php
Copy /config.template.php to /config.php and enter your api credentials.
Point a apache/lighttpd/nginx vhost to the minimal/ directory and restart.
Open http://url-to-your-vhost
## connect with flattr sample
sample app that implements a connect with flattr (based on sessions, no database, using coltrane framework)
see connect\_with\_flattr/
----
Documentation at [http://developers.flattr.net/](http://developers.flattr.net/)
Questions: [StackOverflow](http://stackoverflow.com/questions/tagged/flattr)
Feedback: [twitter](https://twitter.com/#!/flattr)
wp-content/plugins/flattr/images/ui-bg_diagonals-thick_18_b81900_40x40.png

260 B

wp-content/plugins/flattr/images/ui-bg_diagonals-thick_20_666666_40x40.png

251 B

wp-content/plugins/flattr/images/ui-bg_flat_10_000000_40x100.png

178 B

wp-content/plugins/flattr/images/ui-bg_glass_100_f6f6f6_1x400.png

104 B

wp-content/plugins/flattr/images/ui-bg_glass_100_fdf5ce_1x400.png

125 B

wp-content/plugins/flattr/images/ui-bg_glass_65_ffffff_1x400.png

105 B

wp-content/plugins/flattr/images/ui-bg_gloss-wave_35_f6a828_500x100.png

3.67 KiB

wp-content/plugins/flattr/images/ui-bg_highlight-soft_100_eeeeee_1x100.png

90 B

wp-content/plugins/flattr/images/ui-bg_highlight-soft_75_ffe45c_1x100.png

129 B

wp-content/plugins/flattr/images/ui-icons_222222_256x240.png

4.27 KiB

wp-content/plugins/flattr/images/ui-icons_228ef1_256x240.png

4.27 KiB

wp-content/plugins/flattr/images/ui-icons_ef8c08_256x240.png

4.27 KiB

wp-content/plugins/flattr/images/ui-icons_ffd27a_256x240.png

4.27 KiB

wp-content/plugins/flattr/images/ui-icons_ffffff_256x240.png

4.27 KiB

wp-content/plugins/flattr/img/bg-boxlinks-green.png

2.81 KiB

wp-content/plugins/flattr/img/flattr-badge-large.png

1.6 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment