<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>facebook &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Wed, 04 Dec 2019 00:56:08 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>facebook &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>排程自動更新 Facebook Token</title>
		<link>https://noter.tw/6574/%e6%8e%92%e7%a8%8b%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0-facebook-token/</link>
					<comments>https://noter.tw/6574/%e6%8e%92%e7%a8%8b%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0-facebook-token/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Thu, 21 Nov 2019 05:45:59 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[OpenGraph]]></category>
		<category><![CDATA[access_token]]></category>
		<category><![CDATA[權杖]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Facebook SDK]]></category>
		<category><![CDATA[自動更新]]></category>
		<category><![CDATA[token]]></category>
		<category><![CDATA[auto renew]]></category>
		<category><![CDATA[fb_exchange_token]]></category>
		<guid isPermaLink="false">https://noter.tw/?p=6574</guid>

					<description><![CDATA[<p>小蛙負責的系統中，有一個後台需要定期去撈 Facebook 的資料，撈資料的時候需要 Facebook Token，而這個 token 之前都是到期後，小蛙手動去申請或展延，雖然很快，但是就是感覺麻煩&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/6574/%e6%8e%92%e7%a8%8b%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0-facebook-token/" data-wpel-link="internal">排程自動更新 Facebook Token</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p>小蛙負責的系統中，有一個後台需要定期去撈 Facebook 的資料，撈資料的時候需要 Facebook Token，而這個 token 之前都是到期後，小蛙手動去申請或展延，雖然很快，但是就是感覺麻煩，如果忘記了後台會撈不到資料 &#8230;</p>



<span id="more-6574"></span>



<p>昨天要下班前又過期了，早上實在受不了，花一點時間 survey 相關資料，來讓他自動展延～這邊先說明小蛙的環境，主要的 code 會放在下面，再依照自己的需求修改使用。</p>



<ul class="my-li bg-darkblue wp-block-list"><li>crontab -e 每兩個月（或每一個月）去做更新</li><li>更新時需要拿舊的 token 去換新的回來</li><li>將取回的新 token 存到一個檔案</li><li>JSP 後台則從上述檔案中取得 token 以做後續處理</li></ul>



<p>大概了解小蛙要做的事情之後就開始吧！</p>



<h2 class="para wp-block-heading">建立 token 檔案</h2>



<p>小蛙把 token 放在 JSP 專案下的某個目錄，例如：WEB-INF/conf/token，把現有存活可用的 token 先貼進去，小蛙是直接把 facebook 回傳的 json 處理好之後，只留 token，不留其他 json 資訊（當然你要把 facebook 回傳的 json 全部留下來，之後在程式中處理也是可以，不過下次要更新的時候就要在 bash 中處理）</p>



<h2 class="para wp-block-heading">撰寫 bash 及加入排程</h2>



<p>建立一個新檔案 update_fb_token.sh，並填入以下內容，這裡的重點只有 Facebook 那串網址，其他的部份根據自己的需求修改即可</p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">#!/bin/bash
otoken="$(head -n 1 上面建立的token位置)"
url="https://graph.facebook.com/oauth/access_token?client_id=你的app_id&amp;client_secret=fb後台登入後可以看到&amp;grant_type=fb_exchange_token&amp;fb_exchange_token=$otoken"
json=$(curl -X GET $url)
ntoken=$(echo $json | sed -E 's/.*"access_token":"([^"]*).*/\1/')
if [ ! -z "$ntoken" ]
then
        echo $ntoken &gt; 上面建立的token位置
fi</pre>



<p>上面的步驟簡單說一下，首先從本機 token 位置中讀取目前 token，連同 client_id、client_secret（這兩個 Facebook 後台都可以找到）去跟 Facebook 要一個新的 token，取得 Facebook 回傳的 json 後，小蛙只有簡單判斷能不能取到  access_token，如果有的話用 sed 擷取出來，並判斷不為空的話才更新到本機的 token 檔案裡，這裡可以根據自己的需求去做額外處理。</p>



<p>設定為可執行然後加入到 crontabe -e 定期執行</p>



<pre class="wp-block-preformatted wp-block-syntaxhighlighter-code">chmod +x update_fb_token.sh
crontab -e
# 每月 20 號 0:00 執行
0 0 20 * * /root/update_fb_token.sh</pre>



<h2 class="para wp-block-heading">怎麼使用</h2>



<p>小蛙這篇不打算講 OpenGraph 要怎麼使用，只是針對既有使用 OpenGraph 要每兩個月更新 token 的麻煩事，做了一個取巧的排程解法～已經把 token 存到一個指定的路徑中了，只要在使用 Facebook SDK 的地方，修改成動態載入這個 token 就可以正常運行了！省了很多麻煩～～</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/6574/%e6%8e%92%e7%a8%8b%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0-facebook-token/" data-wpel-link="internal">排程自動更新 Facebook Token</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/6574/%e6%8e%92%e7%a8%8b%e8%87%aa%e5%8b%95%e6%9b%b4%e6%96%b0-facebook-token/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Android使用Facebook SDK(申請篇)</title>
		<link>https://noter.tw/1921/android%e4%bd%bf%e7%94%a8facebook-sdk%e7%94%b3%e8%ab%8b%e7%af%87/</link>
					<comments>https://noter.tw/1921/android%e4%bd%bf%e7%94%a8facebook-sdk%e7%94%b3%e8%ab%8b%e7%af%87/#comments</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Fri, 03 Feb 2012 12:30:24 +0000</pubDate>
				<category><![CDATA[手機 App]]></category>
		<category><![CDATA[網頁前端]]></category>
		<category><![CDATA[keystore]]></category>
		<category><![CDATA[keytool]]></category>
		<category><![CDATA[key hash]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Android]]></category>
		<guid isPermaLink="false">http://wazai.net/?p=1921</guid>

					<description><![CDATA[<p>Facebook在每個人的生活中占的比例已經越來越高，有很多不論是網站或是APP為了達到分享及快速散步的目的而紛紛加入「分享到Facebook」的功能(好玩的東西當然要跟FB上面的好朋友分享囉！)，這&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1921/android%e4%bd%bf%e7%94%a8facebook-sdk%e7%94%b3%e8%ab%8b%e7%af%87/" data-wpel-link="internal">Android使用Facebook SDK(申請篇)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>Facebook在每個人的生活中占的比例已經越來越高，有很多不論是網站或是APP為了達到分享及快速散步的目的而紛紛加入「分享到Facebook」的功能(好玩的東西當然要跟FB上面的好朋友分享囉！)，這篇文章記錄怎麼申請Facebook API Key。<br />
<span id="more-1921"></span><br />
首先到<a href="http://developers.facebook.com/" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">http://developers.facebook.com/<span class="wpel-icon wpel-image wpel-icon-6"></span></a>建立一個新的應用程式，第一次使用可能會需要手機號碼或一些其他認證，註冊部分請參考<a href="http://wazai.net/?p=1197" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)@蛙齋<span class="wpel-icon wpel-image wpel-icon-6"></span></a>。<br />
註冊完成也建立了新的應用程式之後進入主畫面，點選右上角的「編輯設定」，最下方有個「Native Android App」旁邊要使用者輸入「Android Key Hash」，接下來小蛙記錄一下怎麼產生這個Android Key Hash。這邊小蛙建議一次就先把兩組Key Hash產生好，平常開發時的debugkey以及正式發布時用的.keystore。</p>
<ol>
<li>產生Facebook Key Hash需要使用到OpenSSL這個工具，可以先到<a href="http://gnuwin32.sourceforge.net/packages/openssl.htm" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">OpenSSL for Windows<span class="wpel-icon wpel-image wpel-icon-6"></span></a>下載<a href="http://downloads.sourceforge.net/gnuwin32/openssl-0.9.8h-1-bin.zip" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right">Binaries Zip<span class="wpel-icon wpel-image wpel-icon-6"></span></a>這個版本。</li>
<li>解壓縮後把 openssl-0.9.8h-1-bin\bin\openssl.exe 複製到C:\Documents and Settings\Hans\.android\debug.keystore(也可以複製到其他地方，只是openssl小蛙只會在這使用到，所以直接放這邊)。</li>
<li>點選開始 -&gt; 執行 -&gt; 輸入「cmd」-&gt; 輸入「cd C:\Documents and Settings\Hans\.android\」(找到debugkey的位置)，如果這邊不知道在哪的話，可以到Eclipse -&gt; Preferences -&gt; Android -&gt; Build -&gt; Default debug keystore 中找到。</li>
<li>輸入以下指令
<pre class="brush: bash; gutter: true">keytool -exportcert -alias androiddebugkey -keystore debug.keystore | openssl sha1 -binary | openssl base64
輸入金鑰儲存庫密碼: android</pre>
<p>相關資訊如下：<br />
Keystore name: &#8220;debug.keystore&#8221;<br />
Keystore password: &#8220;android&#8221;<br />
Key alias: &#8220;androiddebugkey&#8221;<br />
Key password: &#8220;android&#8221;<br />
CN: &#8220;CN=Android Debug,O=Android,C=US&#8221;</li>
<li>產生一段類似「egv25u/dcaukos35ac44e43ada4=」的Key，複製起來貼在上面提到的「Android Key Hash」中，點選最下方儲存。</li>
</ol>
<p>這樣就完成debug key的設定了，自己用來簽署的keystore設定方式也是相同，只要把-alias androiddebugkey以及-keystore debug.keystore更換成自己的設定即可。</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1921/android%e4%bd%bf%e7%94%a8facebook-sdk%e7%94%b3%e8%ab%8b%e7%af%87/" data-wpel-link="internal">Android使用Facebook SDK(申請篇)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/1921/android%e4%bd%bf%e7%94%a8facebook-sdk%e7%94%b3%e8%ab%8b%e7%af%87/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>Facebook上傳圖片失敗</title>
		<link>https://noter.tw/1876/facebook%e4%b8%8a%e5%82%b3%e5%9c%96%e7%89%87%e5%a4%b1%e6%95%97/</link>
					<comments>https://noter.tw/1876/facebook%e4%b8%8a%e5%82%b3%e5%9c%96%e7%89%87%e5%a4%b1%e6%95%97/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Mon, 16 Jan 2012 14:35:39 +0000</pubDate>
				<category><![CDATA[網頁前端]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[上傳失敗]]></category>
		<guid isPermaLink="false">http://wazai.net/?p=1876</guid>

					<description><![CDATA[<p>今天有同事遇到Facebook上傳圖片失敗的問題就跑來問小蛙，小蛙跟另一位同事試了一下，還真的直接從相簿分享上傳，直接就是顯示失敗，透過Facebook界面上傳，還會跑到100%之後直接顯示上傳失敗。&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1876/facebook%e4%b8%8a%e5%82%b3%e5%9c%96%e7%89%87%e5%a4%b1%e6%95%97/" data-wpel-link="internal">Facebook上傳圖片失敗</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>今天有同事遇到Facebook上傳圖片失敗的問題就跑來問小蛙，小蛙跟另一位同事試了一下，還真的直接從相簿分享上傳，直接就是顯示失敗，透過Facebook界面上傳，還會跑到100%之後直接顯示上傳失敗。<br />
<span id="more-1876"></span><br />
小蛙一開始跟另一個同事裝了MOTO defy drive想說透過DDMS看有沒有錯誤訊息，透過錯誤訊息說不定可以追到個蛛絲馬跡，結果沒有任何錯誤訊息。<br />
做了一些嘗試之後，小蛙突然想到前陣子小蛙因為一個Facebook錯誤到Market回報時看到很多人反應圖片無法上傳的問題，小蛙想說自己的是正常的，倒也沒怎麼在意。其實要解決Facebook無法上傳的問題很簡單，不知道是Facebook自己本身修改的權限安全還是怎樣，這位同事說以前都可以上傳的，他也沒改什麼設定，突然就不能上傳了。</p>
<p style="text-align: center;">如果有網友遇到Facebook無法上傳圖片的問題，注意一下上傳圖片的視窗中，右下角有個選單，如下圖。<br />
<a href="https://lh5.googleusercontent.com/-WXsChro3R8M/TxQvgen3N6I/AAAAAAAAED4/Dhzf2ebSHuc/s640/20120116_215814.jpg" target="_blank" rel="noopener nofollow external noreferrer" data-wpel-link="external"><img fetchpriority="high" decoding="async" class="aligncenter" src="https://lh5.googleusercontent.com/-WXsChro3R8M/TxQvgen3N6I/AAAAAAAAED4/Dhzf2ebSHuc/s640/20120116_215814.jpg" alt="20120116 215814 Facebook上傳圖片失敗" width="215" height="359" title="Facebook上傳圖片失敗"></a></p>
<p style="text-align: center;">點選之後可以選擇這張圖片分享目標。如果選擇「朋友清單」裡面的群組，就會造成無法上傳的問題，Facebook也不會提示為什麼無法上傳，真是令人不解呀！<br />
<a href="https://lh4.googleusercontent.com/-odf-yq_XBqI/TxQvgYOCfCI/AAAAAAAAEDY/8nZFv0JcTOk/s640/20120116_215817.jpg" target="_blank" rel="noopener nofollow external noreferrer" data-wpel-link="external"><img decoding="async" class="aligncenter" src="https://lh4.googleusercontent.com/-odf-yq_XBqI/TxQvgYOCfCI/AAAAAAAAEDY/8nZFv0JcTOk/s640/20120116_215817.jpg" alt="20120116 215817 Facebook上傳圖片失敗" width="214" height="357" title="Facebook上傳圖片失敗"></a></p>
<p>其實小蛙之前遇到一個Facebook的bug更嚴重，不確定是小米作業系統造成的還是其他手機也會發生，就是從相簿分享照片出去的時候，會造成相簿裡的同時「發送」出去，也就是說在小蛙分享完麵包超人的照片之後，麵包超人的照片就從相簿裡消失了…回報給Facebook之後不久也就修正掉了，不愧是頂尖開發人員！！</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1876/facebook%e4%b8%8a%e5%82%b3%e5%9c%96%e7%89%87%e5%a4%b1%e6%95%97/" data-wpel-link="internal">Facebook上傳圖片失敗</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/1876/facebook%e4%b8%8a%e5%82%b3%e5%9c%96%e7%89%87%e5%a4%b1%e6%95%97/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)</title>
		<link>https://noter.tw/1197/%e5%9c%a8-wordpress-%e4%bd%bf%e7%94%a8-facebook-social-plugins-comments/</link>
					<comments>https://noter.tw/1197/%e5%9c%a8-wordpress-%e4%bd%bf%e7%94%a8-facebook-social-plugins-comments/#comments</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Sat, 03 Dec 2011 21:35:09 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[網頁前端]]></category>
		<category><![CDATA[Facebook留言板]]></category>
		<category><![CDATA[social plugin]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[facebook]]></category>
		<guid isPermaLink="false">http://69.163.37.35/?p=1197</guid>

					<description><![CDATA[<p>(2012-08-23 更新)接續上一篇，在 VPS 架設完 WordPress，覺得雖然 WordPress 有內建的留言(Comment)功能，但要留言的人需要自行輸入&#8221;姓名&#822&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1197/%e5%9c%a8-wordpress-%e4%bd%bf%e7%94%a8-facebook-social-plugins-comments/" data-wpel-link="internal">在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>(2012-08-23 更新)接續上一篇，在 <span style="color: #ff0000;"><strong>VPS</strong></span> 架設完 <span style="color: #ff0000;"><strong>WordPress</strong></span>，覺得雖然 WordPress 有內建的留言(Comment)功能，但要留言的人需要自行輸入&#8221;姓名&#8221;以及&#8221;電子郵件&#8221;等資訊，總覺得要額外輸入這麼多東西有點麻煩，再說有不少網友都直接掛在 <span style="color: #ff0000;"><strong>Facebook</strong></span> 上，如果可以直接用 Facebook 的帳號來留言是不是方便很多呢？接下來的文章您將可以學會：<strong>1. 建立 Facebook Developers 應用程式。2. 建立 Facebook Social Plugins Comments 留言工具。3. 將 Facebook Comments 嵌入 WordPress。</strong></p>
<h5><span id="more-1197"></span><strong>● 建立 Facebook Developers 應用程式</strong></h5>
<p style="text-align: left;">要使用&nbsp;<span style="color: #ff0000;"><strong>Facebook Social Plugins</strong></span> 只要在 <strong><span style="color: #ff0000;">Facebook Developers</span></strong> 建立一個自己的應用程式即可。</p>
<p style="text-align: left;">1. 到<strong><span style="color: #ff0000;"><a href="https://developers.facebook.com/" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external" class="wpel-icon-right"><span style="color: #ff0000;">Facebook 開發人員</span><span class="wpel-icon wpel-image wpel-icon-6"></span></a></span></strong>，點選上方「<strong>應用程式</strong>」來新增自己的應用程式。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-16-39.png" target="_blank" rel="noopener noreferrer" data-wpel-link="internal"><img decoding="async" class="size-full wp-image-1208" style="border: 0pt none;" title="facebook1" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-16-39.png" alt="點圖放大" width="587" height="253"></a></p>
<p style="text-align: left;">2. 第一次使用 Facebook Developers 會出現授權請求，如果選擇不允許就不能繼續囉！同意吧！<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-19-44.png" target="_blank" rel="noopener noreferrer" data-wpel-link="internal"><img decoding="async" class="size-full wp-image-1209" style="border: 0pt none;" title="facebook2" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-19-44.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 19 44 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="583" height="287"></a></p>
<p>3. 點選右上角的「<strong>建立應用程式</strong>」。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-21-201.png" target="_blank" rel="noopener noreferrer" data-wpel-link="internal"><img decoding="async" class="size-full wp-image-1223 alignnone" title="facebook3" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-21-201.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 21 201 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="582" height="431"></a><br />
4. 輸入要建立的應用程式的顯示名稱及名稱空間，這些資訊之後都可以修改。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-22-45.png" data-wpel-link="internal"><img decoding="async" class="size-full wp-image-1225 alignnone" title="facebook4" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-22-45.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 22 45 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="582" height="216"></a><br />
5. 接著輸入驗證碼，如果你的 Facebook 沒有通過手機認證，會跳出要求手機認證。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-23-22.png" data-wpel-link="internal"><img decoding="async" class="size-full wp-image-1226 alignnone" title="facebook5" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-23-22.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 23 22 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="580" height="264"></a><br />
<img decoding="async" class="size-full wp-image-1228 alignnone" title="facebook5" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-23-49.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 23 49 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="579" height="263"><br />
6. 建立完成會看到以下畫面。包含了 App ID(等一下會用到)、App Secret(如果要透過 Facebook 使用某些特殊功能會用到)。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-28-53.png" data-wpel-link="internal"><img decoding="async" class="alignnone size-full wp-image-1232" title="facebook6" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-28-53.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 28 53 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="577" height="365"></a><br />
7. 輸入網站網址。將網站與 Facebook 做關聯。如果要開發其他比如說 Android App，也是一樣從這邊點選輸入。<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-30-18.png" data-wpel-link="internal"><img decoding="async" class="alignnone size-full wp-image-1233" title="facebook7" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-30-18.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 30 18 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="578" height="457"></a><br />
8. 資料都設定完成回到主畫面後，左側可以看到所有你建立的應用程式，右邊是應用程式的相關資訊。這樣就完成了申請 Facebook Developers 應用程式囉！<br />
<a href="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-35-16.png" data-wpel-link="internal"><img decoding="async" class="alignnone size-full wp-image-1235" title="facebook8" src="https://noter.tw/wp-content/uploads/2011/12/2011-12-4-%E4%B8%8B%E5%8D%88-06-35-16.png" alt="2011 12 4 %E4%B8%8B%E5%8D%88 06 35 16 在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)" width="581" height="368"></a></p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/1197/%e5%9c%a8-wordpress-%e4%bd%bf%e7%94%a8-facebook-social-plugins-comments/" data-wpel-link="internal">在 WordPress 使用 Facebook 留言板 (Facebook Social Plugins Comments)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/1197/%e5%9c%a8-wordpress-%e4%bd%bf%e7%94%a8-facebook-social-plugins-comments/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
