{"id":146,"date":"2011-07-06T00:43:44","date_gmt":"2011-07-05T15:43:44","guid":{"rendered":"http:\/\/www.whoocus.com\/blog\/wordpress\/?p=146"},"modified":"2011-07-06T00:43:44","modified_gmt":"2011-07-05T15:43:44","slug":"sfmelodyplugin%e3%82%92%e8%a9%a6%e3%81%99-%e3%81%9d%e3%81%ae2","status":"publish","type":"post","link":"https:\/\/www.blowfish.co.jp\/?p=146","title":{"rendered":"sfMelodyPlugin\u3092\u8a66\u3059 \u305d\u306e2"},"content":{"rendered":"<p>\u305d\u306e\u5f8c\u3001symfony \u3084 OAuth\u8a8d\u8a3c\u305d\u308c\u81ea\u4f53\u306e\u7406\u89e3\u4e0d\u8db3\u3068\u3044\u3046\u4e8b\u3067\u52c9\u5f37\u3057\u3066\u3044\u305f\u3002sfMelodyPlugin \u306e\u4f7f\u7528\u3092\u3042\u304d\u3089\u3081\u304b\u3051 symfony \u3068\u95a2\u4fc2\u306a\u304f<a href=\"https:\/\/github.com\/abraham\/twitteroauth\">twitteroauth<\/a>\u3068\u3044\u3046\u6709\u540d\u3089\u3057\u3044 php\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8a66\u3057\u3066\u307f\u305f\u3002<\/p>\n<p>\u8a8d\u8a3c\u306e\u4ed5\u7d44\u307f\u3092\u4f55\u3068\u306a\u304f\u7406\u89e3\u3057\u3001\u65e9\u3005\u3068 sfMelodyPlugin \u306e\u4f7f\u7528\u306b\u623b\u3063\u3066\u307f\u308b\u3068\u3001\u3069\u3046\u3084\u3089\u81ea\u5206\u306erouting.yml \u306e\u8a2d\u5b9a\u304c\u60aa\u3044\u3089\u3057\u3044\u3002\u3082\u3046\u4e00\u5ea6 symfony \u306e routing \u3092\u304a\u3055\u3089\u3044\u3057\u3066\u8a2d\u5b9a\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u524d\u306f\u3001twitter\u306e\u30a8\u30e9\u30fc\u753b\u9762\u306b\u98db\u3093\u3067\u3044\u305f\u753b\u9762\u304c\u3001\u4e0b\u8a18\u306e\u304a\u99b4\u67d3\u307f\u306e\u753b\u9762\u3068\u9023\u643a\u3067\u304d\u305f\u3002<\/p>\n<p><a href=\"http:\/\/49.212.148.32\/blog\/wp-content\/uploads\/2011\/07\/twitter_oauth.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-150\" title=\"twitter_oauth\" src=\"http:\/\/49.212.148.32\/blog\/wp-content\/uploads\/2011\/07\/twitter_oauth.png\" alt=\"\" width=\"504\" height=\"571\" \/><\/a><\/p>\n<p>\u539f\u56e0\u4e0d\u660e\u3060\u304c\u3001\u4ee5\u524d\u30a8\u30e9\u30fc\u753b\u9762\u306b\u98db\u3093\u3067\u3044\u305f\u6642\u306f\u3001\u4e0b\u8a18\u30d1\u30e9\u30e1\u30fc\u30bf\u306eoauth_token=xxxxxxxxxxxxxxxx \u304c\u9001\u4fe1\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u3088\u3046\u3060\u3002<\/p>\n<p>[code]<br \/>\nhttps:\/\/api.twitter.com\/oauth\/authorize?param1=value&#038;oauth_token=xxxxxxxxxxxxxxxx<br \/>\n[\/code]<\/p>\n<p>\u4eca\u56de\u306f\u3046\u307e\u304f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3067\u304d\u305f\u3088\u3046\u3060\u3002\u8a73\u7d30\u306f\u3001\u307e\u305f\u8abf\u67fb\u5f8c\u306b\u8a18\u8ff0\u3057\u3088\u3046\u3068\u601d\u3046\u3002\u4e00\u6b69\u4e00\u6b69\u9032\u3093\u3067\u3044\u308b\u3002<br \/>\n\u7d9a\u304d\u306f\u307e\u305f\u5f8c\u65e5\u30fb\u30fb\u30fb\u3002<\/p>\n<p><span style=\"color: #ff0000;\">\u203b\u305d\u306e\u5f8c\u306e\u8abf\u67fb\u306e\u7d50\u679c\u3001\u7b46\u8005\u306fWindows \u3068 Mac \u305d\u308c\u305e\u308c\u3067\u958b\u767a\u3057\u3066\u3044\u308b\u306e\u3060\u304c\u3001Mac \u3060\u3068\u3046\u307e\u304f\u4e0a\u8a18 oauth_token=xxxxxxxxxxx \u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u308b\u3002Windows \u3067\u958b\u767a\u3057\u305f\u5834\u5408\u306f\u3069\u3046\u3057\u3066\u3082\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u4ed8\u52a0\u3055\u308c\u305a\u306b\u4e0b\u8a18\u753b\u9762\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/span><\/p>\n<p><a href=\"http:\/\/49.212.148.32\/blog\/wp-content\/uploads\/2011\/07\/twitter_callback.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-122\" title=\"twitter_callback\" src=\"http:\/\/49.212.148.32\/blog\/wp-content\/uploads\/2011\/07\/twitter_callback.png\" alt=\"\" width=\"661\" height=\"396\" \/><\/a><\/p>\n<p>\u5c1a\u3082\u539f\u56e0\u4e0d\u660e\u3067\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u305d\u306e\u5f8c\u3001symfony \u3084 OAuth\u8a8d\u8a3c\u305d\u308c\u81ea\u4f53\u306e\u7406\u89e3\u4e0d\u8db3\u3068\u3044\u3046\u4e8b\u3067\u52c9\u5f37\u3057\u3066\u3044\u305f\u3002sfMelodyPlugin \u306e\u4f7f\u7528\u3092\u3042\u304d\u3089\u3081\u304b\u3051 symfony \u3068\u95a2\u4fc2\u306a\u304ftwitteroauth\u3068\u3044\u3046\u6709\u540d\u3089\u3057\u3044 php\u30e9\u30a4\u30d6\u30e9\u30ea [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[13,15,16,4],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-php","category-symfony","category-twitter","category-tech"],"_links":{"self":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=146"}],"version-history":[{"count":0,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}