-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
31 lines (21 loc) · 925 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* About "Social Feedback"
- http://developer.gree.co.jp/connect/plugins/sf
* SYNOPSYS
use GREE::Like;
my $like = GREE::Like->new;
$like->title('GREE');
$like->url('http://gree.jp/');
$like->image('http://gree.jp/images/logo.jpg');
$like->type('website');
print $like->to_meta;
print $like->to_button('http://bloghackers.net/~naoya/sandbox/like.html');
** output
<meta property="og:title" content="GREE" />
<meta property="og:url" content="http://gree.jp/" />
<meta property="og:image" content="http://gree.jp/images/logo.jpg" />
<meta property="og:type" content="website" />
<iframe src="http://share.gree.jp/share?url=http%3A%2F%2Fbloghackers.net%2F~naoya%2Fsandbox%2Flike.html&type=0&height=20" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe>
* TODO
- GREE Namespace Support
- test
- utf-8