Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressからFacebookに自動投稿する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WordPressサイトからFacebookに自動投稿したいですか?

Facebookは、約30億人のアクティブユーザーを抱える世界最大級のソーシャルメディアサイトです。ブログ投稿をFacebookでシェアすることで、サイトへの訪問者を増やし、ページビューを増やすことができます。

この投稿では、WordPressでブログ記事を公開するたびにFacebookに自動投稿する方法をご紹介します。

How to Automatically Post to Facebook From WordPress

なぜWordPressの投稿をFacebookで自動共有するのか?

メールリストを作ったり、定期的にメールマガジンを配信したりと、読者と連絡を取り合う方法はたくさんあります。それでも、Facebookのようなソーシャルメディアサイトの巨大なユーザーベースを無視することはできない。

最大のソーシャルメディアサイトであるFacebookは、WordPressウェブサイトの大きなトラフィック源となります。

強力なフォロワーを作るには、Facebookのオーディエンスとエンゲージすることが重要です。これは、コメントへの回答、コンテンツの共有、Facebookへの定期的な更新投稿を意味します。

そこで、WordPress用のソーシャルメディア・チートシートをご用意しました。ソーシャルメディア活動を有効化することで、時間と労力を節約することもできます。

それでは、WordPressで新しい投稿を公開するたびにFacebookに自動投稿する方法を見ていきましょう。

動画チュートリアル

Subscribe to WPBeginner

もし、文章での説明がお望みなら、このまま読み進めてほしい。

Uncanny Automatorを使ってWordPressからFacebookに自動投稿する

Facebookに自動投稿する最良の方法は、Uncanny Automatorを使用することです。市場で最高のWordPress自動化プラグインであり、時間を節約し、より良いユーザーエクスペリエンスを提供し、ビジネスを成長させる強力なワークフローを作成できます。

さらに、Googleドライブ、Slack、Asana、Facebookなど、150以上のプラグイン、アプリ、サービスと統合できる。

Uncanny Automator website

このガイドでは、Uncanny AutomatorのProバージョンを使用します。

注: 無料のUncanny Automatorプラグインもあり、Facebookで使用できる1,000クレジットがもらえます。これらのクレジットを使用した後、Facebookへの自動投稿を続けるには、Proアカウント以上にアップグレードする必要があります。

無料のプラグインを使用する場合も、手順はほとんど同じです。

まず、Uncanny Automatorプラグインをインストールして有効化する必要があります。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

有効化すると、Uncanny Automatorの無料版のインストールも求められます。このプラグインのライトバージョンは、プロプランのベースとして使用されます。

有効化した後、Automator ” 設定ページにアクセスし、ライセンスキーを「Uncanny Automator Pro ライセンスキー」フィールドに入力します。

Entering your Uncanny Automator license

この情報は、Uncanny Automatorサイトのアカウントで確認できます。

有効化した後、’Activate license’ボタンをクリックします。

FacebookページをUncanny Automatorに接続する

Facebook用の自動ワークフローを作成する前に、FacebookページをUncanny Automatorに接続する必要があります。

この接続を行うには、Automator ” App Integrationsページにアクセスし、左の列から「Facebook Pages」タブに切り替えます。

ここで、’Connect Facebook account’を選択する。

Connecting Facebook to Uncanny Automator

このボタンをクリックすると、Facebookアカウントにログインできるポップアップが表示されます。2 要素認証を有効化している場合は、Facebook を Uncanny Automator に接続するために、この追加チェックにも合格する必要があります。

ログイン中、Facebookがあなたの名前とプロフィール写真へのアクセスをUncanny Automatorに許可するかどうかを尋ねます。よろしければ、「このまま続ける」ボタンをクリックしてください。

Click the Continue Button

次に、Uncanny AutomatorにFacebookへの投稿を許可するかどうか尋ねられます。

そのまま『続ける』をクリックしてください。

Giving Uncanny Automator access to your Facebook

そうすると、Uncanny Automatorのダッシュボードに戻ります。

Facebookアカウントにリンクされているすべてのページが表示されます。これらは、Uncanny Automatorが自動的に投稿できるページです。

How to post to Facebook automatically

Uncanny AutomatorからFacebookへの自動投稿

これで、WordPressブログの新しい記事を公開するたびに、自動的にFacebookステータスを投稿するレシピを作成する準備ができました。

WordPressのダッシュボードにあるAutomator ” Add newにアクセスするだけです。

ログイン中’レシピを作成するか、’Everyone’レシピを作成するかを選択することができます。このレシピでは’ログイン中ユーザー’を選択し、’確認’ボタンをクリックします。

Select 'Logged-in Users'

次に、「タイトル」フィールドにレシピの名前を入力します。

これはあくまで参考なので、お好きなものを使ってください。

Add a Title

その後、アクションのトリガーとなる条件を定義しなければならない。

WordPressブログを公開するたびにFacebookに投稿したいので、「統合を選択」の「WordPress」をクリックする。

Choosing WordPress as your Uncanny Automator integration

WordPressサイトで使用できるすべてのトリガーが表示されます。

publish」を検索し、「A user publishes a type of post with a taxonomy term in ataxonomy」というトリガーを選択します。

You'll See a List of WordPress Triggers

この例では、投稿を公開したときだけFacebookを更新し、ページは更新しません。カテゴリー: ‘投稿タイプ’ドロップダウンを開き、’投稿’を選択します。

タクソノミー」の設定を変更することで、特定のカテゴリーやタグからの投稿を共有するかどうかを決めることができる。

Change the Post Type to 'Post'

保存」をクリックして変更を保存することを忘れないでください。

次に、投稿を公開するたびにUncanny Automatorが実行するアクションを選択する必要があります。アクションを追加] ボタンをクリックして開始します。

Click the Add Action Button

Uncanny Automatorでは、使用できる統合機能がすべて表示されるようになりました。例えば、WordPressで新しい投稿を公開すると自動的にツイートできる統合があります。

Facebookに投稿したいので、「Facebook Pages」ボタンをクリックする。

How to automatically post to Facebook from WordPress

Facebookのアクションがすべて表示されます。

投稿にアイキャッチ画像がある場合は、「画像付き投稿を公開する」を選択するのがよいでしょう。しかし、Facebookの投稿に画像を追加したくない場合は、代わりに「Facebookページに投稿を公開する」を選択することができます。

Automatically posting a post to Facebook using Uncanny Automator

複数のFacebookページをお持ちの場合は、「Facebookページ」のドロップダウンメニューから投稿したいページを選択してください。

その後、投稿したいステータスを「メッセージ」ボックスに入力して作成します。

Select the Facebook Page You Wish to Post To

投稿ステータスを書くとき、トークンを使って投稿タイトルとURLをメッセージに追加する必要があります。Uncanny Automatorがあなたのステータスを投稿するとき、これらのトークンを投稿の実際の情報に置き換えます。

トークンを追加するには、「*」ボタンをクリックします。

Adding tokens to your custom message

そして、「ユーザーが投稿を公開する」の次の矢印をクリックしてください。

これは投稿のすべての異なるトークンを表示します。

Creating a personalized message using tokens

Facebookの状態に任意のトークンを追加することができます。

しかし、人々がブログ記事を訪問できるように、通常は’投稿タイトル’と’投稿URL’を選択したいでしょう。

An example of a automated Facebook status update

画像付きの投稿を公開する」をアクションとして選択した場合、Uncanny Automatorにその画像がどこにあるかを知らせる必要があります。

画像URLまたはメディアライブラリID」フィールドを見つけ、その「*」ボタンをクリックする。

Adding a featured image to a Facebook status update

次に、’A user publishes a post…’トリガーをクリックして展開する。

ここで、「アイキャッチ画像URLを投稿」をクリックする。

The Uncanny Automator Facebook triggers and actions

アクションの設定に満足したら、’Save’をクリックするのを忘れないでください。

この時点で、Uncanny Automatorがブログを公開してすぐにFacebookに投稿しないように、遅延を追加することもできます。

これを行うには、「投稿を公開する」アクションにマウスオーバーし、表示されたら「遅延」をクリックします。

Setting a delay in Uncanny Automator

これで、Uncanny Automatorのアクションを遅延後にトリガーするか、特定の日付または時刻にトリガーするかを選択できます。

これにより、オーディエンスが最もオンラインになりやすい時間帯にFacebookに投稿することができる。

Trigger After a Time Delay or on a Specific Date and Time

トリガーとアクションを設定したら、レシピを公開しましょう。

そのためには、『下書き』スイッチをクリックして、代わりに『ライブ』と表示させる。

Switch the Toggle Button from Draft to Live

レシピが公開されると、Uncanny Automatorはあなたが投稿を公開するたびに新しいFacebookステータスを投稿します。

テストサイトで新しいブログ記事を公開したところ、Facebookページにこのように投稿が表示された。

An example of a Facebook status, created using Uncanny Automator

もし正しいサムネイル画像がFacebookの状態に表示されない場合は、WordPressでFacebookのサムネイルが正しくない問題を修正する方法をご覧ください。

ボーナス:WordPressでカスタムFacebookフィードを作成する

WordPressからFacebookへの投稿とは別に、Facebookフィード全体をサイトに埋め込むこともできます。これにより、訪問者はサイトを離れることなくFacebookの投稿を表示することができ、ユーザーエクスペリエンスを向上させることができます。

さらに、ユーザーがあなたのFacebookページをチェックするきっかけになり、フォロワーが増える可能性もある。

Facebookフィードを埋め込むには、Smash Balloon Facebook Feedプラグインをインストールし、有効化する必要があります。有効化したら、Facebook Feed ” All Feedsにアクセスして、’Add New’をクリックしてください。

Adding a Facebook social media feed to WordPress

フィードの種類として「タイムライン」を選択し、「次へ」ボタンをクリックします。

その後、Smash Balloon と Facebook アカウントを接続する必要があります。詳しくは、WordPressにFacebookのグループフィードを埋め込む方法のチュートリアルをご覧ください。

How to add a Facebook timeline to your website

それが完了したら、Smash BalloonのビジュアルエディターでFacebookフィードを簡単にカスタマイズできます。ここでは、背景色の変更、レイアウトの選択、さまざまなボタンの追加など、さまざまなことができます。

その後、上部にある「保存」ボタンをクリックして設定を保存します。

Edit Facebook feed

ブロックエディターを開き、メニューから「Facebookフィード」ブロックを追加します。次に、ブロック内のドロップダウンメニューから、先ほど作成したFacebookフィードを選択します。

最後に、「更新」または「公開」ボタンをクリックして、設定を保存します。詳しくは、WordPressでカスタムFacebookフィードを作成する方法のチュートリアルをご覧ください。

Select the feed from the block

このチュートリアルで、WordPressからFacebookに自動投稿する方法を学んでいただけたら幸いです。WordPressにFacebook動画を埋め込む方法や、ブログを成長させるためのWordPress Facebookプラグインもご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

55件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    This will save me a relatively large amount of time with the number of articles. I manually posted articles to Facebook after they were published.

  3. Terje Pettersen says

    Hi. I want to enable all my users to be able, in an easy way, so that all new WordPress blogs automatically be posted on their own private facebook wall. Is that possible?

    • WPBeginner Support says

      We do not have a method we would recommend for that at the moment as there would not be an easy way for your users to disable the automated sharing. For the time being, you would want to take a look at plugins to add a share button to your posts.

      管理者

  4. Beth Younker says

    Thanks for the info, however you fail to mention that some of these options may come at a price. For example, with WordPress you can no longer use plug-ins unless you upgrade to a business account. I find that really frustrating, as I used to be able to easily link to my FB page, but now I can’t unless I pay more money? Thanks a lot.

    • WPBeginner Support says

      These are for Facebook pages, Facebook limits automation for their groups at the moment.

      管理者

  5. Eduardo Rivera says

    Hi guys, great info as always! You should really update the 3rd option, the graph API has been deprecated and now Facebook uses another method, very intuitive and self explanatory.

    • WPBeginner Support says

      Thank you for letting us know, we will look into updating our article as soon as we are able.

      管理者

    • WPBeginner Support says

      They may have changed their interface since this article was last updated you should still be able to use their search feature at the top of the page to find an applet.

      管理者

    • WPBeginner Support says

      Our Facebook group is still active. If you visit our Facebook page and go to the groups tab on the side, you should be able to see the group there :)

      管理者

  6. Amanda says

    I found the process for Buffer much easier than described in this post. You just need to sign up for Buffer and connect your social media account(s) there, then install the WP to Buffer plugin, then hit the “Authorize” button in the plugin settings. That’s it. No access token, no callback URL, no creating an app. That is all automated with the Authorize button now, I suppose.

    • WPBeginner Support says

      Thank you for letting us know, we’ll be sure to take a look at this article :)

      管理者

  7. Daniel says

    Hi,

    I tried using IFTTT but it kept telling me invalid WordPress URL. after numerous crosschecks i could see that the URL is correct.

    Please, what can i do about this?

    • WPBeginner Support says

      Hi Daniel,

      Make sure XML-RPC is enabled on your website. It is a WordPress feature that allows third-party services like IFTTT to connect. Some WordPress security plugins may disable it. See your security plugin settings.

      管理者

  8. Mariano says

    How can I include the post updates on ifttt? Because when is new post the notification send normal. But when is a post update it don’t send anything.

    • waynedpj says

      i am also looking for a way to update the corresponding Facebook post when an update is made to the original post on WordPress. unfortunately most options seem to only allow new posts as triggers. did you ever find a solution?

      thanks.

  9. Kylie says

    When I follow the steps for AccessPress Facebook Autopost (which I’ve successfully used before), and I click the box ‘Public’ to make the review public, I now get a dialogue box that asks for a Privacy Policy URL. I’ve only found sites for privacy policy URL development that cost. Is there something general that can be added for free?

    • Stefan says

      There’s now an option in WordPress for “Privacy policy”. You can find it in the administrator panel in the “Settings” submenu and than “Privacy”.

  10. Joe says

    I was able to use IFTTT to share my post to Facebook. But the new issue with this, is that Facebook shows description of website, instead of the post description.

    Facebook also used another image thumbnail, instead of the image I used for the post. Please how can I resolve this??

  11. Francois says

    This didn’t work. When I click authorize I get this error below, even after I added my domain and page where I do my posts to the App Domain.

    Can’t Load URL: The domain of this URL isn’t included in the app’s domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

  12. Samuel says

    Is there a way that when someone comments on our post that we share to facebook, it displays on our site.

    I know we can have a facebook comment plugin that allows users to comment on post using their facebook account.

    What i don’t know is, If we share our post to facebook, and someone comments on that post on facebook, how can we display that comment on our site

  13. Nikhil says

    Hi. is there any plugin that uploads the posts automatically to different fb pages according to different categories . for eg: if a particular post is of category tech then it should be shared on fb tech page and if its category is of health that post should be shared on fb page corresponding to it

  14. Sue says

    I have gone through the setup and posted my blog, but it’s not showing up on f.b. Just wondering what I did wrong, or is there a delay to it posting. I posted about 10 minutes ago. Thanks!

    • Ed says

      If it’s your very first post using IFTTT it will take UP TO an hour. This is stated in small print on the applet.

  15. teslim says

    i am trying to use the facebook App method by i am finding it difficult to authorize my account, facebook says (Can’t Load URL: The domain of this URL isn’t included in the app’s domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.). please help soonest thanks..

  16. Daniel says

    How do you change the post on Facebook that says…

    “John Doe published an article on WordPress”

    so that ‘WordPress” says something else, like your site’s URL or name?

  17. Karen says

    Hello. I followed the directions to the “T” using the WordPress Plug-In method and see absolutely no postings to my FB page. I even updated a post (thinking any previous posts may not appear), and that didn’t work either. I went to my timeline and feed areas of my FB page and don’t see anything.

    Please assist or I will have no other option but to deactivate this plug-in and start over. :(

    Thank you.

  18. isah says

    hey nice article i just tried this now on my site using the IFTTT method and it works like a charm. thanks for the tip

  19. JM Koh says

    Thanks for the tutorial. Does anyone know of a way to post to both the FB profile and FB page (that is joined to 1 FB account as required by FB)? Noted that the IFTTT method requires you to choose to post either to the profile or page, which is the same as Jetpack. Thanks!

  20. Miso says

    Hi,
    on plugin there is now an error and the account can not be authorized.
    Someone told me that giving admin credentials to website is not so good idea,
    so the user which posts website can not be administrator.

  21. Sandra K says

    Do any of these methods work for Facebook Groups? I’m the administrator for a Closed Facebook Group and I want automate postings news and events on our website to our Facebook Group. Is that do-able?

  22. iostar says

    Hi! I am using Zapier to post automatically on facebook and another social media based on RSS technology.
    Hope it helps.

  23. Claudio says

    When I try and enter my hosted wordpress info, it prompts me that I need to enable XML-RPC under my wordpress “Settings/Writing”, but I don’t see a checkbox for this.

  24. Pankaj Dhawan says

    People talk about using Buffer more and it is very famous. Never used any such technique since I am not getting enough time so I suppose IFTTT for someone like me would be ideal.
    I wasnt aware of this before so, thank you for sharing this useful info.

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。