forked from remi/pubwich
-
Notifications
You must be signed in to change notification settings - Fork 27
ServiceDribbble
Michael Haschke edited this page May 12, 2016
·
1 revision
Dribbble is a place to show and tell, promote, discover, and explore design.
-
username: name of user, get it from the URL, e.g.
https://dribbble.com/username
-
access_token: you get the access token in two steps: 1. Create a Dribbble account, 2. Register an application. As PubwichFork doesn't use oAuth you can insert something like
http://localhost/onlyUsesApiClientAccessToken
as callback URL. -
method:
DribbbleShots
orDribbbleLikes
... and the basic configuration for all services.
$dribbbleshots = array(
'Dribbble', 'dribbleshots', array(
'method' => 'DribbbleShots',
'username' => 'simplebits',
'access_token' => 'thisisnotarealaccesstokenbutanexample123456789',
'total' => 8,
'title' => 'Dan @ Dribbble',
'description' => 'recent shots',
)
);
- id: Id of the Dribbble shot,
- title: Title of Dribbble shot,
- date: creation time (formatted),
- timestamp: creation time (microseconds),
- description: Dribbble description,
- likes: number of likes,
- comments: number of comments,
- url: link to page of Dribbble shot,
- image_url: URL of image with higher resolution,
- image_teaser_url: URL of thumbnail,
<li>
<a title="{{{title}}}" href="{{{url}}}">
<img src="{{{image_teaser_url}}}" alt="{{{title}}} ({{{date}}})" height="75" />
</a>
</li>