{"id":192763,"date":"2011-10-31T03:31:30","date_gmt":"2011-10-31T10:31:30","guid":{"rendered":"http:\/\/chinadigitaltimes.net\/chinese\/2011\/10\/%e7%bf%bb%e5%a2%99-%e7%94%a8gae%e6%90%ad%e5%bb%ba%e8%87%aa%e5%b7%b1%e7%9a%84%e4%b8%aa%e6%80%a7%e5%8c%96%e6%8e%a8%d2%89%e7%89%b9%d2%89api\/"},"modified":"2011-10-31T03:31:30","modified_gmt":"2011-10-31T10:31:30","slug":"%e7%bf%bb%e5%a2%99-%e7%94%a8gae%e6%90%ad%e5%bb%ba%e8%87%aa%e5%b7%b1%e7%9a%84%e4%b8%aa%e6%80%a7%e5%8c%96%e6%8e%a8%d2%89%e7%89%b9%d2%89api","status":"publish","type":"post","link":"https:\/\/chinadigitaltimes.net\/chinese\/192763.html","title":{"rendered":"\u7ffb\u5899 | \u7528GAE\u642d\u5efa\u81ea\u5df1\u7684\u4e2a\u6027\u5316\u63a8\u0489\u7279\u0489API"},"content":{"rendered":"<p><p>\u6765\u6e90\uff1a<a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/blog.newchen.com\/post\/1389\">http:\/\/blog.newchen.com\/post\/1389<\/a><\/p>\n<p>\u672c\u6587\u5c06\u4ee5\u5c3d\u53ef\u80fd\u6700\u8be6\u7ec6\u7684\u65b9\u6cd5\uff0c\u8bb2\u8ff0\u4f7f\u7528Gtap\u642d\u5efa\u81ea\u5df1Twitter API\u7684\u6574\u4e2a\u6d41\u7a0b\uff0c\u5e76\u5c3d\u53ef\u80fd\u4fdd\u8bc1\u6bcf\u4e00\u4e2a\u6b65\u9aa4\u90fd\u914d\u6709\u622a\u56fe\u505a\u53c2\u8003\uff0c\u4ee5\u4fbf\u5927\u5bb6\u7406\u89e3\u3002\u4e0d\u8fc7\u8fd9\u6837\u4e00\u6765\uff0c\u6587\u7ae0\u7248\u9762\u53ef\u80fd\u5c31\u4f1a\u88ab\u62c9\u7684\u8f83\u957f\uff0c\u6240\u4ee5\u3002\u3002\u3002\u5c31\u4e0d\u7f57\u55e6\u591a\u4f59\u7684\u8bdd\u4e86\u3002\u3002\u3002 \u6b63\u6587\u5f00\u59cb\u3002\u3002\u3002<\/p>\n<p><strong><span>&#8211; \u642d\u5efa\u90e8\u5206 &#8211;<\/span><\/strong><\/p>\n<p>\u9996\u5148\u9700\u8981\u5230 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/appengine.google.com\/\">Google Appengine<\/a><span>\u00a0<\/span>\u65b0\u6ce8\u518c\u4e00\u4e2a\u7a0b\u5e8f\uff08\u4e00\u5b9a\u4e0d\u8981\u4e0a\u4f20\u5230\u4ee5\u524d\u7533\u8bf7\u7684\u522b\u7684APP\u4e0a\uff09\u3002\u6ce8\u518c\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u548c\u524d\u51e0\u5929\u5199\u7684\u201c<a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/blog.newchen.com\/post\/1376\" title=\"\u7528GAE\u6765\u642d\u5efa\u81ea\u5df1\u4e13\u7528\u7684\u7ffb\u0489\u5899\u0489\u4ee3\u0489\u7406\u0489\">\u7528GAE\u6765\u642d\u5efa\u81ea\u5df1\u4e13\u7528\u7684\u7ffb\u0489\u5899\u0489\u4ee3\u0489\u7406\u0489<\/a><span>\u00a0<\/span>\u201d\u7684\u5f00\u5934\u90e8\u5206\u4e00\u6837\u3002<\/p>\n<p>\u6ce8\u518c\u597dGoogle Appengine\uff0c\u5f97\u5230\u4e86 xxx.appspot.com \u7684\u57df\u540d\u540e\uff0c\u4e0b\u9762\u5c31\u6b63\u5f0f\u5f00\u59cb\u642d\u5efa\u8fd9\u4e2aTwitter API\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"400\" src=\"http:\/\/67.195.19.74\/4152\/4951301446_ef95597f47.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u9996\u5148\u9700\u8981\u5148<strong>\u7ffb\u5899\u8bbf\u95ee<\/strong>\uff1a<a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/dev.twitter.com\/\">http:\/\/dev.twitter.com<\/a>\u3002\u7136\u540e\u6ce8\u518c\u4e00\u4e2a\u65b0\u7684App\uff08\u5982\u4e0a\u56fe\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"629\" src=\"http:\/\/67.195.19.74\/4105\/4950708921_477bf2187e_z.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u6ce8\u518c\u65f6\u6240\u586b\u7684\u8868\u5355\uff0c\u540d\u79f0\uff0c\u8bf4\u660e\uff0c\u548c\u7f51\u5740\uff0c\u90fd\u53ef\u4ee5\u968f\u4fbf\u5199\u81ea\u5df1\u559c\u6b22\u7684\u3002\u4f46<strong>\u4e00\u5b9a\u8981\u6ce8\u610f\u4e0a\u56fe\u4e2d\u7ea2\u7ebf\u5708\u8d77\u6765\u7684\u90e8\u5206<\/strong>\uff0c\u4e5f\u5c31\u662f Application\uff0cCallback URL\uff0cDefault Access type\uff0c\u8fd9\u4e09\u5904\u3002<span>Application Type<span>\u00a0<\/span><\/span>\u8981\u9009\u62e9\u201c<span>Browser<\/span>\u201d\uff0c<span>Callback URL<\/span>\u5730\u5740\u8981\u586b\u5199\u201c<span>http:\/\/gtap.appspot.com\/oauth\/verify<\/span>\u201d\uff0c<span>Default Access type<\/span><span>\u00a0<\/span>\u8981\u9009\u62e9\u201c<span>Read &#038; Write<\/span>\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"520\" src=\"http:\/\/67.195.19.74\/4108\/4950708961_3cf3b764f3_z.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u6210\u529f\u6ce8\u518c\u4e86App\u540e\uff0c\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u5404\u79cd\u4fe1\u606f\u7684\u9875\u9762\uff0c\u5176\u4e2d\u5305\u542b\u63a5\u4e0b\u6765\u9700\u8981\u7528\u5230\u7684<span>\u00a0<\/span><strong>Consumer key<\/strong><span>\u00a0<\/span>\u548c<strong>Consumer secret<\/strong>\u3002\u5c06\u6b64\u9875\u9762\u6682\u65f6\u4fdd\u7559\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"440\" src=\"http:\/\/67.195.19.74\/4087\/4951301678_0e8edcfc0b.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u63a5\u4e0b\u6765\uff0c<a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/www.newchen.com\/downloads\/gtap.7z\"><strong>\u70b9\u51fb\u8fd9\u91cc\u4e0b\u8f7dGtap<\/strong><\/a>\uff0c\u7136\u540e\u89e3\u538b\u5230\u672c\u5730\u786c\u76d8\u4e2d\u3002\u8fdb\u5165gtap\u7684\u6587\u4ef6\u5939\uff0c\u7528\u4f60\u4e60\u60ef\u7684\u8bb0\u4e8b\u672c\u5de5\u5177\u6253\u5f00 main.py \u6587\u4ef6\uff0c\u7136\u540e\u4fee\u6539 14\uff0c15\u884c\u7684<span>\u00a0<\/span><strong>CONSUMER_KEY<\/strong><span>\u00a0<\/span>\u548c<span>\u00a0<\/span><strong>CONSUMER_SECRET<\/strong>\uff08\u5982\u4e0a\u56fe\uff09\uff0c\u5c06\u56fe\u4e2d\u201c<span>\u5c0f\u660e\u540c\u5b66\u7684KEY<\/span>\u201d\u66ff\u6362\u6210\u4f60\u521a\u521a\u5728Twitter\u7533\u8bf7\u5230\u7684<span><span>\u00a0<\/span>Consumer key<\/span>\uff0c\u628a\u201c<span>\u5c0f\u660e\u540c\u5b66\u7684\u5bc6\u94a5<\/span>\u201d\u66ff\u6362\u6210\u4f60\u7684<span>\u00a0<\/span><span>Consumer secret<\/span>\u3002\u7136\u540e\u4fdd\u5b58\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"370\" src=\"http:\/\/67.195.19.74\/4140\/4951301602_81e38e3f8d.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6253\u5f00 app.yaml\uff0c\u4fee\u6539\u7b2c\u4e00\u884c\uff0c\u5c06\u4e0a\u56fe\u4e2d\u201c\u5c0f\u660e\u540c\u5b66\u7684\u7a0b\u5e8f\u540d\u201d\u66ff\u6362\u6210\u4f60\u5728Google Appengine\u65b0\u7533\u8bf7\u5230\u7684\u540d\u79f0\u3002\u5982\u679c\u4f60\u4e0d\u662f\u5728\u6211\u8fd9\u91cc\u4e0b\u8f7d\u7684gtap\uff0c\u90a3\u4e48\u8fd8\u9700\u8981\u786e\u8ba4\u4e0a\u56fe\u4e2d\uff0c\u6700\u540e\u4e00\u884c<span>\u00a0<\/span><span>secure<\/span><span>\u00a0<\/span>\u90a3\u91cc\u662f\u201c<span>optional<\/span>\u201d\u3002\u786e\u8ba4\u65e0\u8bef\u540e\uff0c\u4fdd\u5b58\u5e76\u5173\u95ed\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"214\" src=\"http:\/\/67.195.19.74\/4113\/4950709217_2f8dff9564.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u7a0b\u5e8f\u5df2\u7ecf\u51c6\u5907\u5b8c\u6bd5\uff0c\u4e0b\u9762\u8fd0\u884c Google App Engine Launcher \u6765\u8bb2\u7a0b\u5e8f\u4e0a\u4f20\u5230GAE\u3002\u70b9\u51fb\u201cFile \u2013 Add Existing Application\u2026\u201d\u6dfb\u52a0\u7a0b\u5e8f\u76ee\u5f55\u3002<\/p>\n<p>\u6ce8\u610f\u4e00\u70b9\uff0c<strong>\u8fd9\u4e2a\u65e0\u6cd5\u901a\u8fc7SDUpload\u8fd9\u4e2a\u7b2c\u4e09\u65b9\u7684\u4e0a\u4f20\u5de5\u5177\u4e0a\u4f20<\/strong>\u3002\u3002\u3002\u5f88\u6b8b\u5ff5\u3002\u3002\u3002\u5982\u679c\u4f60\u6ca1\u6709\u5b89\u88c5\u8fc7Google App Engine\u7684\u5ba2\u6237\u7aef\uff0c\u90a3\u4e48\u9700\u8981\u5148<a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/www.python.org\/download\/\">\u4e0b\u8f7d\u5e76\u5b89\u88c5Python2.7<\/a>\uff08\u53ef\u80fd\u88ab\u5899\uff0c\u8bf7\u968f\u65f6\u7ffb\u5899\u4e0b\u8f7d\uff09\uff0c\u7136\u540e\u5728<a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/code.google.com\/intl\/zh-CN\/appengine\/downloads.html\">\u4e0b\u8f7d\u5b89\u88c5Google App Engine<\/a>\u5373\u53ef\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"350\" src=\"http:\/\/67.195.19.74\/4086\/4950709113_1ddab45252.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u5728Google App Engine Launcher\u4e2d\u6dfb\u52a0\u597d\u7a0b\u5e8f\u540e\uff0c\u70b9\u51fb\u5de5\u5177\u680f\u7684\u201cDeploy\u201d\uff0c\u4e4b\u540e\u4f1a\u5f39\u51fa\u4e00\u4e2a\u7a97\u53e3\uff0c\u8f93\u5165\u4f60\u7684Google\u5e10\u53f7\u548c\u5bc6\u7801\u5f00\u59cb\u4e0a\u4f20\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"398\" src=\"http:\/\/67.195.19.74\/4087\/4951301764_69199014d5.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u4e0a\u4f20\u65f6\u7684\u63d0\u793a\u7a97\u53e3\u662f\u8fd9\u4e2a\u6837\u5b50\u7684\u3002\u3002\u3002\u4f60\u4e0d\u9700\u8981\u7b49\u5f85\u5f88\u957f\u65f6\u95f4\uff0c\u5f53\u4f60\u770b\u5230\u7a97\u53e3\u4e2d\u63d0\u793a\u4f60\u201cYou can close this window now.\u201d\u7684\u5b57\u6837\u65f6\uff0c\u5c31\u53ef\u4ee5\u5173\u95edGoogle App Engine Launcher\u4e86\u3002\u8fd9\u65f6\u4f60\u5df2\u7ecf\u5b8c\u6210\u4e86\u5168\u90e8\u5de5\u4f5c\u3002\u63a5\u4e0b\u6765\u5c31\u662f\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2aAPI\u4e86\u3002\u3002\u3002<\/p>\n<p><strong><span>&#8211; \u4f7f\u7528\u90e8\u5206 &#8211;<\/span><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"264\" src=\"http:\/\/67.195.19.74\/4150\/4950709317_a11c4719a0.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>API\u5df2\u7ecf\u642d\u5efa\u597d\u4e86\uff0c\u4f60\u53ef\u4ee5<strong>\u7ffb\u5899\u70b9\u51fb<\/strong>\u4e0a\u56fe\u4e2d\u7684\u201cSing in with Twitter\u201d\u6309\u94ae\uff0c\u9a8c\u8bc1\u4e00\u4e0b\u540e\u81ea\u5df1\u4e00\u4e2a\u4eba\u4f7f\u7528\uff0c\u4e5f\u628a\u4f60\u7533\u8bf7\u7684 xxx.appspot.com \u8fd9\u4e2a\u5730\u5740\u53d1\u7ed9\u4f60\u7684\u597d\u53cb\uff0c\u4ed6\u4eec\u53ea\u9700\u8981\u7ecf\u8fc7\u4e00\u6b65\u7b80\u5355\u7684\u9a8c\u8bc1\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002<\/p>\n<p><span>\u203b\u9a8c\u8bc1\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u5f00\u542f\u4ee3\u7406\uff0c\u5e76\u5148\u767b\u5f55Twitter\u7684\u7f51\u7ad9\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"450\" src=\"http:\/\/67.195.19.74\/4149\/4951301948_9be219ed11.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u70b9\u51fb\u201cSign in with Twitter\u201d\u94fe\u63a5\u540e\uff0c\u4f1a\u8df3\u8f6c\u5230Twitter\u7684API\u9a8c\u8bc1\u9875\u9762\uff08\u5982\u4e0a\u56fe\uff09\uff0c\u70b9\u51fb\u201cAllow\u201d\u6309\u94ae\uff0c\u540c\u610f\u5e94\u7528\u7a0b\u5e8f\u8bbf\u95ee\u4f60\u7684\u5e10\u6237\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"280\" src=\"http:\/\/67.195.19.74\/4120\/4950709379_93e1abbaa3.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u63a5\u7740\uff0cTwitter\u7684API\u9875\u9762\u9a8c\u8bc1\u5b8c\u6bd5\u540e\uff0c\u4f1a\u518d\u6b21\u8df3\u8f6c\u4f1a\u4f60\u7684 xxx.appspot.com \u7684\u9875\u9762\uff0c\u5e76\u7ed9\u4f60\u4e00\u4e2a\u8868\u683c\uff08\u5982\u4e0a\u56fe\uff09\uff0c\u4e0a\u9762\u663e\u793a\u7684\u662f\u4f60Twitter\u7684\u7528\u6237\u540d\uff0c\u5bc6\u94a5\u3002\u5728\u201c<span>the new key<\/span>\u201d\u7684\u680f\u4e2d\uff0c\u586b\u5165\u4f60\u8981\u4fee\u6539\u7684\u65b0\u7684\u5bc6\u94a5\u3002\u53ef\u4ee5\u586b\u5199\u4f60\u7684Twitter\u5bc6\u7801\uff08\u4f46\u4e0d\u63a8\u8350\uff09\uff0c\u4e00\u822c\u968f\u4fbf\u586b\u4e00\u4e2a\u4f60\u80fd\u8bb0\u4f4f\u7684\u5355\u8bcd\uff0c\u7f51\u5740\uff0c\u90ae\u7bb1\u3002\u3002\u3002\u5c31\u53ef\u4ee5\u3002\u8fd9\u4e2a\u5bc6\u94a5\u76f8\u5f53\u4e8e\u4f60\u901a\u8fc7\u8fd9\u4e2aAPI\u6765\u94fe\u63a5Twitter\u7684\u4e00\u4e2a\u9a8c\u8bc1\u5bc6\u7801\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"480\" src=\"http:\/\/67.195.19.74\/4106\/4951302010_bd328f8a96.jpg\" title=\"Twitter API\" width=\"500\" \/><\/p>\n<p>\u4e00\u5207\u5df2\u7ecf\u51c6\u5907\u5c31\u7eea\uff0c\u63a5\u4e0b\u6765\u4f7f\u7528\u90a3\u4e9b\u652f\u6301API\u7684\u5ba2\u6237\u7aef\u6765\u767b\u5f55\u4f60\u7684Twitter\u5c31\u53ef\u4ee5\u4e86\u3002\u3002\u3002<\/p>\n<p>\u56e0\u4e3a\u6211\u8fd9\u91cc\u7684\u5ba2\u6237\u7aef\u6709\u9650\uff08\u5e73\u65f6\u6211\u90fd\u662f\u7528Chrome\u7684\u6269\u5c55\u6765\u4e0a\u63a8\u7684\uff09\uff0c\u53ea\u6d4b\u8bd5\u4e86 TweetDeck\u548cSpaz\u4e24\u4e2a\u684c\u9762\u5ba2\u6237\u7aef\uff0c\u975e\u5e38\u597d\u7528\uff0c\u901f\u5ea6\u5f88\u5feb\u3002<\/p>\n<p>\u4ee5TweetDeck\u7684\u8bbe\u7f6e\u6765\u4e3e\u4f8b\uff0c\u8fdb\u5165\u8f6f\u4ef6\u7684\u9009\u9879\uff0c\u7136\u540e\u5728\u201cAccounts\u201d\u4e2d\uff0c\u6dfb\u52a0\u6216\u4fee\u6539\u4f60\u7684Twitter\u5e10\u6237\uff0c\u70b9\u51fb\u201cAdvanced Options\u201d\uff0c\u8f93\u5165\u4f60\u7684API\u5730\u5740\uff0c\u4e5f\u5c31\u662f \u201chttp:\/\/xxx.appspot.com\/\u201d\u3002\u5343\u4e07\u8bb0\u5f97\u6700\u540e\u7684\u659c\u6760\u201c\/\u201d\u522b\u5fd8\u4e86\u3002\u3002\u3002\u5475\u5475\u3002\u3002\u3002\u7136\u540e\u5728\u4e0a\u9762\u586b\u4e0a\u4f60\u7684Twitter\u7528\u6237\u540d\uff0c\u548c\u3002\u3002\u3002<span>\u4e0d\u662f\u4f60Twitter\u7684\u5bc6\u7801\u54e6<\/span>\u3002\u3002\u3002\u5475\u5475\u3002\u3002\u3002 \u8fd9\u91cc\u7684\u5bc6\u7801<span>\u8981\u586b\u521a\u521a\u4e0a\u9762\u8ba9\u4f60\u4fee\u6539\u7684\u90a3\u4e2aAPI\u7684\u5bc6\u94a5<\/span>\uff0c\u5c31\u662f\u8ba9\u4f60\u968f\u4fbf\u6539\u6210\u5355\u8bcd\uff0c\u7f51\u5740\uff0c\u6216\u90ae\u7bb1\u7684\u90a3\u4e2aAPI\u7684\u5bc6\u94a5\u3002\u7136\u540e\u4fdd\u5b58\u3002\u3002\u3002<\/p>\n<p>\u73b0\u5728\u5f00\u59cb\u3002\u3002\u3002\u4f60\u4e0d\u9700\u8981\u7ffb\u5899\uff0c\u4e5f\u53ef\u4ee5\u7528\u8fd9\u4e9b\u652f\u6301API\u7684\u5ba2\u6237\u7aef\u6765\u4e0a\u63a8\u548c\u53d1\u63a8\u4e86\u3002\u3002\u3002\u5475\u5475\u3002\u3002\u3002\uff1a\uff09<\/p>\n<p>\u5df2\u7ecf\u6d4b\u8bd5\u8fc7\u6ca1\u4efb\u4f55\u95ee\u9898\u7684\u5ba2\u6237\u7aef\u6709\uff1aTweetDeck\uff0cSpaz\uff0c\u4ee5\u53caChrome\u6d4f\u89c8\u5668\u7684\u63a8\u7279\u6269\u5c55 Chrowety\u3002<\/p>\n<p>\u5df2\u77e5\u76ee\u524d\u65e0\u6cd5\u4f7f\u7528\u8fd9\u4e2aAPI\u7684\u5ba2\u6237\u7aef\u6709\uff1aChrome\u6d4f\u89c8\u5668\u7684\u63a8\u7279\u6269\u5c55 Chrome bird\u3002\uff08\u8fd9\u4e2a\u53ef\u4ee5\u7528Chrowety\u66ff\u6362\uff0c\u7ecf\u8fc7\u957f\u65f6\u95f4\u7684\u6d4b\u8bd5\uff0cChrowety\u73b0\u5728\u6bd4\u4ee5\u524d\u7a33\u5b9a\u591a\u4e86\uff0c\u51e0\u4e4e\u4e0d\u518d\u51fa\u73b0\u53d1\u63a8\u51fa\u56e7\u7684BUG\u4e86\u3002\uff09<\/p>\n<p>\u6700\u540e\uff0c\u9644\u4e0a\u4e00\u5f20\u901a\u8fc7\u4e2a\u6027\u5316API\u53d1\u63a8\u7684\u6548\u679c\u622a\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"570\" src=\"http:\/\/67.195.19.74\/4104\/4951186587_887fc96ce9_z.jpg\" title=\"Twitter API\" width=\"390\" \/><\/p>\n<p>\u81f3\u6b64\uff0c\u6574\u4e2a\u6d41\u7a0b\u8bb2\u89e3\u5b8c\u6bd5\u3002\u3002\u3002 \u5982\u679c\u8fd8\u6709\u7591\u95ee\uff0c\u53ef\u4ee5\u5728\u4e0b\u65b9\u7559\u8a00\u3002<\/p>\n<p>\u5982\u679c\u8bb2\u89e3\u5230\u8fd9\u4e2a\u7a0b\u5ea6\u8fd8\u662f\u65e0\u6cd5\u642d\u5efa\u3002\u3002\u3002 \u6211\u4e5f\u53ef\u4ee5\u628a\u6b64\u6559\u7a0b\u4e2d\u642d\u5efa\u7684API\u5171\u4eab\u51fa\u6765\u7ed9\u5927\u5bb6\u4f7f\u7528\u3002\u3002\u3002 \u4f46\u51fa\u4e8e\u79cd\u79cd\u4e0d\u53ef\u6297\u62d2\u539f\u56e0\uff0c\u6211\u4e0d\u4f1a\u516c\u5f00\u53d1\u5e03\u3002\u5982\u679c\u9700\u8981\uff0c\u8bf7\u5230Twitter\u4e0aDM\u627e\u6211\u8981\uff08Twitter\uff1a@newChen\uff09\u3002\uff08\u540c\u6837\u51fa\u4e8e\u79cd\u79cd\u4e0d\u53ef\u6297\u62d2\u539f\u56e0\uff0cFollower\u7684\u6570\u91cf\u592a\u5c11\u7684\uff0c\u5373\u4f7fDM\u6211\uff0c\u53ef\u80fd\u6211\u4e5f\u4e0d\u4f1a\u56de\u590d\u7684\u3002\u3002\u3002\u62b1\u6b49\u3002\u3002\u3002\uff09<\/p>\n<p>\u6700\u540e\u9644\u4e0a\u4e00\u4e2a\u5c0f\u6bb5\u5b50\uff0c\u5c0f\u5a31\u4e50\u4e00\u4e0b\u3002\u3002\u3002<\/p>\n<p>\u9ad8\u5b98\uff1a\u5c0f\u59d1\u5a18\uff0c\u4f60\u5f97\u5c0f\u5fc3\u70b9\uff01\u6211\u53ef\u662f\u6709\u540e\u53f0\u7684\u4eba\uff01<\/p>\n<p>\u59d1\u5a18\uff1a\u4f60\u4e00\u6837\u4e5f\u5f97\u5c0f\u5fc3\u70b9\u54e6\uff0c\u6211\u53ef\u662f\u6709Twitter\u7684\u4eba\u3002<\/p>\n<p>\u9ad8\u5b98\uff1a(\u201c\u2594\u25a1\u2594)<\/p>\n<p>\u59d1\u5a18\uff1a\u256e(\uffe3\u25bd\uffe3\u201d)\u256d<\/p>\n<p>\u5168\u6587\u5b8c\u3002<\/p>\n<p>&#8211; \u4ee5\u4e0a &#8211;<\/p>\n<p><span>\u2014\u2014\u2014\u2014\u2014\u2014 by\uff1a\u70ed\u5fc3\u4e8e\u63a8\u5e7f\u7ffb\u0489\u5899\u0489\u548c\u63a8\u0489\u7279\u0489\u7684 \u591c\u306e\u732b<\/span><\/p>\n<p>  <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/xijie.wordpress.com\/5260\/\" \/><\/a> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/godelicious\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/delicious\/xijie.wordpress.com\/5260\/\" \/><\/a> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gofacebook\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/facebook\/xijie.wordpress.com\/5260\/\" \/><\/a> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gotwitter\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/twitter\/xijie.wordpress.com\/5260\/\" \/><\/a> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gostumble\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/stumble\/xijie.wordpress.com\/5260\/\" \/><\/a> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/godigg\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/digg\/xijie.wordpress.com\/5260\/\" \/><\/a> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/feeds.wordpress.com\/1.0\/goreddit\/xijie.wordpress.com\/5260\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/reddit\/xijie.wordpress.com\/5260\/\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" height=\"1\" src=\"http:\/\/stats.wordpress.com\/b.gif?host=xijie.wordpress.com&#038;blog=10068099&#038;post=5260&#038;subd=xijie&#038;ref=&#038;feed=1\" width=\"1\" \/><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/chinadigitaltimes.net\/chinese\/files\/2011\/10\/075e35c6ef95597f47.jpg-150x150.jpg\" \/><\/p>\n<p><small>\u672c\u6587\u7531\u81ea\u52a8\u805a\u5408\u7a0b\u5e8f\u53d6\u81ea\u7f51\u7edc\uff0c\u5185\u5bb9\u548c\u89c2\u70b9\u4e0d\u4ee3\u8868\u6570\u5b57\u65f6\u4ee3\u7acb\u573a<\/small><\/p>\n<form method=\"POST\" action=\"http:\/\/www.feedblitz.com\/f\/f.fbz?AddNewUserDirect\">\n\u5b9a\u671f\u83b7\u5f97\u7ffb\u5899\u4fe1\u606f\uff1f<a href=\"http:\/\/www.feedblitz.com\/f\/?Sub=738338\" target=\"_blank\" rel=\"noopener\">\u8bf7\u7535\u90ae\u8ba2\u9605\u6570\u5b57\u65f6\u4ee3<\/a> <br \/><input name=\"EMAIL\" maxlength=\"64\" type=\"text\" size=\"25\" value=\"\"><br \/>\n<input name=\"FEEDID\" type=\"hidden\" value=\"738338\"><br \/>\n<input name=\"PUBLISHER\" type=\"hidden\" value=\"7485568\"><br \/>\n<input type=\"submit\" value=\"\u8ba2\u9605!\"><br \/>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p> \u6765\u6e90\uff1a http:\/\/blog.newchen.com\/post\/1389 \u672c\u6587\u5c06\u4ee5\u5c3d\u53ef\u80fd\u6700\u8be6\u7ec6\u7684\u65b9\u6cd5\uff0c\u8bb2\u8ff0\u4f7f\u7528Gtap\u642d\u5efa\u81ea\u5df1Twitter API\u7684\u6574\u4e2a\u6d41\u7a0b\uff0c\u5e76\u5c3d\u53ef\u80fd\u4fdd\u8bc1\u6bcf\u4e00\u4e2a\u6b65\u9aa4\u90fd\u914d\u6709\u622a\u56fe\u505a\u53c2\u8003\uff0c\u4ee5\u4fbf\u5927\u5bb6\u7406\u89e3\u3002\u4e0d\u8fc7\u8fd9\u6837\u4e00\u6765\uff0c\u6587\u7ae0\u7248\u9762\u53ef\u80fd\u5c31\u4f1a\u88ab\u62c9\u7684\u8f83\u957f\uff0c\u6240\u4ee5\u3002\u3002\u3002\u5c31\u4e0d\u7f57\u55e6\u591a\u4f59\u7684\u8bdd\u4e86\u3002\u3002\u3002 \u6b63\u6587\u5f00\u59cb\u3002\u3002\u3002 &#8211; \u642d\u5efa\u90e8\u5206 &#8211; \u9996\u5148\u9700\u8981\u5230 Google Appengine \u00a0 \u65b0\u6ce8\u518c\u4e00\u4e2a\u7a0b\u5e8f\uff08\u4e00\u5b9a\u4e0d\u8981\u4e0a\u4f20\u5230\u4ee5\u524d\u7533\u8bf7\u7684\u522b\u7684APP\u4e0a\uff09\u3002\u6ce8\u518c\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u548c\u524d\u51e0\u5929\u5199\u7684\u201c \u7528GAE\u6765\u642d\u5efa\u81ea\u5df1\u4e13\u7528\u7684\u7ffb\u0489\u5899\u0489\u4ee3\u0489\u7406\u0489 \u00a0 \u201d\u7684\u5f00\u5934\u90e8\u5206\u4e00\u6837\u3002 \u6ce8\u518c\u597dGoogle Appengine\uff0c\u5f97\u5230\u4e86 xxx.appspot.com \u7684\u57df\u540d\u540e\uff0c\u4e0b\u9762\u5c31\u6b63\u5f0f\u5f00\u59cb\u642d\u5efa\u8fd9\u4e2aTwitter API\u4e86\u3002 \u9996\u5148\u9700\u8981\u5148 \u7ffb\u5899\u8bbf\u95ee \uff1a http:\/\/dev.twitter.com \u3002\u7136\u540e\u6ce8\u518c\u4e00\u4e2a\u65b0\u7684App\uff08\u5982\u4e0a\u56fe\uff09\u3002 \u6ce8\u518c\u65f6\u6240\u586b\u7684\u8868\u5355\uff0c\u540d\u79f0\uff0c\u8bf4\u660e\uff0c\u548c\u7f51\u5740\uff0c\u90fd\u53ef\u4ee5\u968f\u4fbf\u5199\u81ea\u5df1\u559c\u6b22\u7684\u3002\u4f46 \u4e00\u5b9a\u8981\u6ce8\u610f\u4e0a\u56fe\u4e2d\u7ea2\u7ebf\u5708\u8d77\u6765\u7684\u90e8\u5206 \uff0c\u4e5f\u5c31\u662f Application\uff0cCallback URL\uff0cDefault Access type\uff0c\u8fd9\u4e09\u5904\u3002 Application Type \u00a0 \u8981\u9009\u62e9\u201c Browser \u201d\uff0c Callback URL \u5730\u5740\u8981\u586b\u5199\u201c http:\/\/gtap.appspot.com\/oauth\/verify \u201d\uff0c Default Access type \u00a0 \u8981\u9009\u62e9\u201c Read &#038; Write \u201d\u3002 \u6210\u529f\u6ce8\u518c\u4e86App\u540e\uff0c\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u5404\u79cd\u4fe1\u606f\u7684\u9875\u9762\uff0c\u5176\u4e2d\u5305\u542b\u63a5\u4e0b\u6765\u9700\u8981\u7528\u5230\u7684 \u00a0 Consumer key \u00a0 \u548c Consumer secret \u3002\u5c06\u6b64\u9875\u9762\u6682\u65f6\u4fdd\u7559\u3002 \u63a5\u4e0b\u6765\uff0c \u70b9\u51fb\u8fd9\u91cc\u4e0b\u8f7dGtap \uff0c\u7136\u540e\u89e3\u538b\u5230\u672c\u5730\u786c\u76d8\u4e2d\u3002\u8fdb\u5165gtap\u7684\u6587\u4ef6\u5939\uff0c\u7528\u4f60\u4e60\u60ef\u7684\u8bb0\u4e8b\u672c\u5de5\u5177\u6253\u5f00 main.py \u6587\u4ef6\uff0c\u7136\u540e\u4fee\u6539 14\uff0c15\u884c\u7684 \u00a0 CONSUMER_KEY \u00a0 \u548c \u00a0 CONSUMER_SECRET \uff08\u5982\u4e0a\u56fe\uff09\uff0c\u5c06\u56fe\u4e2d\u201c \u5c0f\u660e\u540c\u5b66\u7684KEY \u201d\u66ff\u6362\u6210\u4f60\u521a\u521a\u5728Twitter\u7533\u8bf7\u5230\u7684 \u00a0 Consumer key \uff0c\u628a\u201c \u5c0f\u660e\u540c\u5b66\u7684\u5bc6\u94a5 \u201d\u66ff\u6362\u6210\u4f60\u7684 \u00a0 Consumer secret \u3002\u7136\u540e\u4fdd\u5b58\u3002 \u63a5\u4e0b\u6765\uff0c\u6253\u5f00 app.yaml\uff0c\u4fee\u6539\u7b2c\u4e00\u884c\uff0c\u5c06\u4e0a\u56fe\u4e2d\u201c\u5c0f\u660e\u540c\u5b66\u7684\u7a0b\u5e8f\u540d\u201d\u66ff\u6362\u6210\u4f60\u5728Google Appengine\u65b0\u7533\u8bf7\u5230\u7684\u540d\u79f0\u3002\u5982\u679c\u4f60\u4e0d\u662f\u5728\u6211\u8fd9\u91cc\u4e0b\u8f7d\u7684gtap\uff0c\u90a3\u4e48\u8fd8\u9700\u8981\u786e\u8ba4\u4e0a\u56fe\u4e2d\uff0c\u6700\u540e\u4e00\u884c \u00a0 secure \u00a0 \u90a3\u91cc\u662f\u201c optional \u201d\u3002\u786e\u8ba4\u65e0\u8bef\u540e\uff0c\u4fdd\u5b58\u5e76\u5173\u95ed\u3002 \u7a0b\u5e8f\u5df2\u7ecf\u51c6\u5907\u5b8c\u6bd5\uff0c\u4e0b\u9762\u8fd0\u884c Google App Engine Launcher \u6765\u8bb2\u7a0b\u5e8f\u4e0a\u4f20\u5230GAE\u3002\u70b9\u51fb\u201cFile \u2013 Add Existing Application\u2026\u201d\u6dfb\u52a0\u7a0b\u5e8f\u76ee\u5f55\u3002 \u6ce8\u610f\u4e00\u70b9\uff0c \u8fd9\u4e2a\u65e0\u6cd5\u901a\u8fc7SDUpload\u8fd9\u4e2a\u7b2c\u4e09\u65b9\u7684\u4e0a\u4f20\u5de5\u5177\u4e0a\u4f20 \u3002\u3002\u3002\u5f88\u6b8b\u5ff5\u3002\u3002\u3002\u5982\u679c\u4f60\u6ca1\u6709\u5b89\u88c5\u8fc7Google App Engine\u7684\u5ba2\u6237\u7aef\uff0c\u90a3\u4e48\u9700\u8981\u5148 \u4e0b\u8f7d\u5e76\u5b89\u88c5Python2.7 \uff08\u53ef\u80fd\u88ab\u5899\uff0c\u8bf7\u968f\u65f6\u7ffb\u5899\u4e0b\u8f7d\uff09\uff0c\u7136\u540e\u5728 \u4e0b\u8f7d\u5b89\u88c5Google App Engine \u5373\u53ef\u3002 \u5728Google App Engine Launcher\u4e2d\u6dfb\u52a0\u597d\u7a0b\u5e8f\u540e\uff0c\u70b9\u51fb\u5de5\u5177\u680f\u7684\u201cDeploy\u201d\uff0c\u4e4b\u540e\u4f1a\u5f39\u51fa\u4e00\u4e2a\u7a97\u53e3\uff0c\u8f93\u5165\u4f60\u7684Google\u5e10\u53f7\u548c\u5bc6\u7801\u5f00\u59cb\u4e0a\u4f20\u3002 \u4e0a\u4f20\u65f6\u7684\u63d0\u793a\u7a97\u53e3\u662f\u8fd9\u4e2a\u6837\u5b50\u7684\u3002\u3002\u3002\u4f60\u4e0d\u9700\u8981\u7b49\u5f85\u5f88\u957f\u65f6\u95f4\uff0c\u5f53\u4f60\u770b\u5230\u7a97\u53e3\u4e2d\u63d0\u793a\u4f60\u201cYou can close this window now.\u201d\u7684\u5b57\u6837\u65f6\uff0c\u5c31\u53ef\u4ee5\u5173\u95edGoogle App Engine Launcher\u4e86\u3002\u8fd9\u65f6\u4f60\u5df2\u7ecf\u5b8c\u6210\u4e86\u5168\u90e8\u5de5\u4f5c\u3002\u63a5\u4e0b\u6765\u5c31\u662f\u5982\u4f55\u4f7f\u7528\u8fd9\u4e2aAPI\u4e86\u3002\u3002\u3002 &#8211; \u4f7f\u7528\u90e8\u5206 &#8211; API\u5df2\u7ecf\u642d\u5efa\u597d\u4e86\uff0c\u4f60\u53ef\u4ee5 \u7ffb\u5899\u70b9\u51fb \u4e0a\u56fe\u4e2d\u7684\u201cSing in with Twitter\u201d\u6309\u94ae\uff0c\u9a8c\u8bc1\u4e00\u4e0b\u540e\u81ea\u5df1\u4e00\u4e2a\u4eba\u4f7f\u7528\uff0c\u4e5f\u628a\u4f60\u7533\u8bf7\u7684 xxx.appspot.com \u8fd9\u4e2a\u5730\u5740\u53d1\u7ed9\u4f60\u7684\u597d\u53cb\uff0c\u4ed6\u4eec\u53ea\u9700\u8981\u7ecf\u8fc7\u4e00\u6b65\u7b80\u5355\u7684\u9a8c\u8bc1\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002 \u203b\u9a8c\u8bc1\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u5f00\u542f\u4ee3\u7406\uff0c\u5e76\u5148\u767b\u5f55Twitter\u7684\u7f51\u7ad9\u3002 \u70b9\u51fb\u201cSign in with Twitter\u201d\u94fe\u63a5\u540e\uff0c\u4f1a\u8df3\u8f6c\u5230Twitter\u7684API\u9a8c\u8bc1\u9875\u9762\uff08\u5982\u4e0a\u56fe\uff09\uff0c\u70b9\u51fb\u201cAllow\u201d\u6309\u94ae\uff0c\u540c\u610f\u5e94\u7528\u7a0b\u5e8f\u8bbf\u95ee\u4f60\u7684\u5e10\u6237\u3002 \u63a5\u7740\uff0cTwitter\u7684API\u9875\u9762\u9a8c\u8bc1\u5b8c\u6bd5\u540e\uff0c\u4f1a\u518d\u6b21\u8df3\u8f6c\u4f1a\u4f60\u7684 xxx.appspot.com \u7684\u9875\u9762\uff0c\u5e76\u7ed9\u4f60\u4e00\u4e2a\u8868\u683c\uff08\u5982\u4e0a\u56fe\uff09\uff0c\u4e0a\u9762\u663e\u793a\u7684\u662f\u4f60Twitter\u7684\u7528\u6237\u540d\uff0c\u5bc6\u94a5\u3002\u5728\u201c the new key \u201d\u7684\u680f\u4e2d\uff0c\u586b\u5165\u4f60\u8981\u4fee\u6539\u7684\u65b0\u7684\u5bc6\u94a5\u3002\u53ef\u4ee5\u586b\u5199\u4f60\u7684Twitter\u5bc6\u7801\uff08\u4f46\u4e0d\u63a8\u8350\uff09\uff0c\u4e00\u822c\u968f\u4fbf\u586b\u4e00\u4e2a\u4f60\u80fd\u8bb0\u4f4f\u7684\u5355\u8bcd\uff0c\u7f51\u5740\uff0c\u90ae\u7bb1\u3002\u3002\u3002\u5c31\u53ef\u4ee5\u3002\u8fd9\u4e2a\u5bc6\u94a5\u76f8\u5f53\u4e8e\u4f60\u901a\u8fc7\u8fd9\u4e2aAPI\u6765\u94fe\u63a5Twitter\u7684\u4e00\u4e2a\u9a8c\u8bc1\u5bc6\u7801\u3002 \u4e00\u5207\u5df2\u7ecf\u51c6\u5907\u5c31\u7eea\uff0c\u63a5\u4e0b\u6765\u4f7f\u7528\u90a3\u4e9b\u652f\u6301API\u7684\u5ba2\u6237\u7aef\u6765\u767b\u5f55\u4f60\u7684Twitter\u5c31\u53ef\u4ee5\u4e86\u3002\u3002\u3002 \u56e0\u4e3a\u6211\u8fd9\u91cc\u7684\u5ba2\u6237\u7aef\u6709\u9650\uff08\u5e73\u65f6\u6211\u90fd\u662f\u7528Chrome\u7684\u6269\u5c55\u6765\u4e0a\u63a8\u7684\uff09\uff0c\u53ea\u6d4b\u8bd5\u4e86 TweetDeck\u548cSpaz\u4e24\u4e2a\u684c\u9762\u5ba2\u6237\u7aef\uff0c\u975e\u5e38\u597d\u7528\uff0c\u901f\u5ea6\u5f88\u5feb\u3002 \u4ee5TweetDeck\u7684\u8bbe\u7f6e\u6765\u4e3e\u4f8b\uff0c\u8fdb\u5165\u8f6f\u4ef6\u7684\u9009\u9879\uff0c\u7136\u540e\u5728\u201cAccounts\u201d\u4e2d\uff0c\u6dfb\u52a0\u6216\u4fee\u6539\u4f60\u7684Twitter\u5e10\u6237\uff0c\u70b9\u51fb\u201cAdvanced Options\u201d\uff0c\u8f93\u5165\u4f60\u7684API\u5730\u5740\uff0c\u4e5f\u5c31\u662f \u201chttp:\/\/xxx.appspot.com\/\u201d\u3002\u5343\u4e07\u8bb0\u5f97\u6700\u540e\u7684\u659c\u6760\u201c\/\u201d\u522b\u5fd8\u4e86\u3002\u3002\u3002\u5475\u5475\u3002\u3002\u3002\u7136\u540e\u5728\u4e0a\u9762\u586b\u4e0a\u4f60\u7684Twitter\u7528\u6237\u540d\uff0c\u548c\u3002\u3002\u3002 \u4e0d\u662f\u4f60Twitter\u7684\u5bc6\u7801\u54e6 \u3002\u3002\u3002\u5475\u5475\u3002\u3002\u3002 \u8fd9\u91cc\u7684\u5bc6\u7801 \u8981\u586b\u521a\u521a\u4e0a\u9762\u8ba9\u4f60\u4fee\u6539\u7684\u90a3\u4e2aAPI\u7684\u5bc6\u94a5 \uff0c\u5c31\u662f\u8ba9\u4f60\u968f\u4fbf\u6539\u6210\u5355\u8bcd\uff0c\u7f51\u5740\uff0c\u6216\u90ae\u7bb1\u7684\u90a3\u4e2aAPI\u7684\u5bc6\u94a5\u3002\u7136\u540e\u4fdd\u5b58\u3002\u3002\u3002 \u73b0\u5728\u5f00\u59cb\u3002\u3002\u3002\u4f60\u4e0d\u9700\u8981\u7ffb\u5899\uff0c\u4e5f\u53ef\u4ee5\u7528\u8fd9\u4e9b\u652f\u6301API\u7684\u5ba2\u6237\u7aef\u6765\u4e0a\u63a8\u548c\u53d1\u63a8\u4e86\u3002\u3002\u3002\u5475\u5475\u3002\u3002\u3002\uff1a\uff09 \u5df2\u7ecf\u6d4b\u8bd5\u8fc7\u6ca1\u4efb\u4f55\u95ee\u9898\u7684\u5ba2\u6237\u7aef\u6709\uff1aTweetDeck\uff0cSpaz\uff0c\u4ee5\u53caChrome\u6d4f\u89c8\u5668\u7684\u63a8\u7279\u6269\u5c55 Chrowety\u3002 \u5df2\u77e5\u76ee\u524d\u65e0\u6cd5\u4f7f\u7528\u8fd9\u4e2aAPI\u7684\u5ba2\u6237\u7aef\u6709\uff1aChrome\u6d4f\u89c8\u5668\u7684\u63a8\u7279\u6269\u5c55 Chrome bird\u3002\uff08\u8fd9\u4e2a\u53ef\u4ee5\u7528Chrowety\u66ff\u6362\uff0c\u7ecf\u8fc7\u957f\u65f6\u95f4\u7684\u6d4b\u8bd5\uff0cChrowety\u73b0\u5728\u6bd4\u4ee5\u524d\u7a33\u5b9a\u591a\u4e86\uff0c\u51e0\u4e4e\u4e0d\u518d\u51fa\u73b0\u53d1\u63a8\u51fa\u56e7\u7684BUG\u4e86\u3002\uff09 \u6700\u540e\uff0c\u9644\u4e0a\u4e00\u5f20\u901a\u8fc7\u4e2a\u6027\u5316API\u53d1\u63a8\u7684\u6548\u679c\u622a\u56fe\uff1a \u81f3\u6b64\uff0c\u6574\u4e2a\u6d41\u7a0b\u8bb2\u89e3\u5b8c\u6bd5\u3002\u3002\u3002 \u5982\u679c\u8fd8\u6709\u7591\u95ee\uff0c\u53ef\u4ee5\u5728\u4e0b\u65b9\u7559\u8a00\u3002 \u5982\u679c\u8bb2\u89e3\u5230\u8fd9\u4e2a\u7a0b\u5ea6\u8fd8\u662f\u65e0\u6cd5\u642d\u5efa\u3002\u3002\u3002 \u6211\u4e5f\u53ef\u4ee5\u628a\u6b64\u6559\u7a0b\u4e2d\u642d\u5efa\u7684API\u5171\u4eab\u51fa\u6765\u7ed9\u5927\u5bb6\u4f7f\u7528\u3002\u3002\u3002 \u4f46\u51fa\u4e8e\u79cd\u79cd\u4e0d\u53ef\u6297\u62d2\u539f\u56e0\uff0c\u6211\u4e0d\u4f1a\u516c\u5f00\u53d1\u5e03\u3002\u5982\u679c\u9700\u8981\uff0c\u8bf7\u5230Twitter\u4e0aDM\u627e\u6211\u8981\uff08Twitter\uff1a@newChen\uff09\u3002\uff08\u540c\u6837\u51fa\u4e8e\u79cd\u79cd\u4e0d\u53ef\u6297\u62d2\u539f\u56e0\uff0cFollower\u7684\u6570\u91cf\u592a\u5c11\u7684\uff0c\u5373\u4f7fDM\u6211\uff0c\u53ef\u80fd\u6211\u4e5f\u4e0d\u4f1a\u56de\u590d\u7684\u3002\u3002\u3002\u62b1\u6b49\u3002\u3002\u3002\uff09 \u6700\u540e\u9644\u4e0a\u4e00\u4e2a\u5c0f\u6bb5\u5b50\uff0c\u5c0f\u5a31\u4e50\u4e00\u4e0b\u3002\u3002\u3002 \u9ad8\u5b98\uff1a\u5c0f\u59d1\u5a18\uff0c\u4f60\u5f97\u5c0f\u5fc3\u70b9\uff01\u6211\u53ef\u662f\u6709\u540e\u53f0\u7684\u4eba\uff01 \u59d1\u5a18\uff1a\u4f60\u4e00\u6837\u4e5f\u5f97\u5c0f\u5fc3\u70b9\u54e6\uff0c\u6211\u53ef\u662f\u6709Twitter\u7684\u4eba\u3002 \u9ad8\u5b98\uff1a(\u201c\u2594\u25a1\u2594) \u59d1\u5a18\uff1a\u256e(\uffe3\u25bd\uffe3\u201d)\u256d \u5168\u6587\u5b8c\u3002 &#8211; \u4ee5\u4e0a &#8211; \u2014\u2014\u2014\u2014\u2014\u2014 by\uff1a\u70ed\u5fc3\u4e8e\u63a8\u5e7f\u7ffb\u0489\u5899\u0489\u548c\u63a8\u0489\u7279\u0489\u7684 \u591c\u306e\u732b <\/p>\n","protected":false},"author":983,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","ampforwp-amp-on-off":"","home_featured":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[15300],"tags":[8817],"class_list":["post-192763","post","type-post","status-publish","format-standard","hentry","category-15300","tag-8817","et-doesnt-have-format-content","et_post_format-et-post-format-standard"],"_links":{"self":[{"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/posts\/192763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/users\/983"}],"replies":[{"embeddable":true,"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/comments?post=192763"}],"version-history":[{"count":0,"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/posts\/192763\/revisions"}],"wp:attachment":[{"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/media?parent=192763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/categories?post=192763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chinadigitaltimes.net\/chinese\/wp-json\/wp\/v2\/tags?post=192763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}