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

Så här ställer du in Facebook Instant Articles för WordPress (steg för steg)

Har du hört talas om Facebook Instant Articles och vill addera dem till din WordPress site?

Instant Articles är utmärkta för att snabbt leverera content till användare av Facebook. De hämtar 10 gånger snabbare och använder ett mobilt format. Detta bidrar till att ge en exceptionell användarupplevelse och ökar dina följare.

I den här artikeln visar vi dig hur du enkelt konfigurerar Facebook Instant Articles för WordPress.

How to set up Facebook instant articles for WordPress

Vad är Facebook Instant Articles?

Instant Articles är en funktion på Facebook som allow you att ladda ditt content 10 gånger snabbare genom att använda ett customize format för mobila enheter. Den är baserad på samma teknik som används i Facebooks appar för mobila enheter.

Instant Articles laddas upp till 10 gånger snabbare än en vanlig page. Denna otroliga ökning av hastigheten ger en bättre användarupplevelse för mobila användare.

Många populära mediesajter gillar BuzzFeed, TechCrunch, Mashable och otaliga andra använder det på sina webbplatser. Du kan enkelt upptäcka omedelbara artiklar i ditt Facebook feed med blixtbult ikonen.

Pro och nackdelar med Facebook Instant Articles

Likes allt annat finns det vissa fördelar och nackdelar med att använda omedelbara artiklar på din website.

Proffs med att använda Facebook Instant Articles

  • Snabbare laddningstid innebär en betydande förbättring av användarupplevelsen.
  • På grund av hastigheten är användarna mer benägna att dela ditt content.
  • Tillgång till alternativ för intäktsgenerering genom Facebook Audience Network.
  • Ökad räckvidd för Facebook Page.
  • Facebooks massiva användarbas kan ge en new våg av trafik till din site.

Nackdelar med att använda Facebook Instant Articles

  • Användare kommer ej att se hela din WordPress website layout inklusive sidebars. Det kommer att dölja dina användbara widgetar, formulär för email list och allt annat som inte är en del av artikeln.
  • Du kan se en minskning av annonsintäkterna, eftersom Facebook Instant Articles limit annonsörerna och antalet annonser som du kan visa på en artikel.
  • You can use some images and videos in your article, but Facebook instant articles will limit that as well.
  • De flesta shortcodes, custom fields och andra funktioner i WordPress-bloggar kommer ej att visas i dina artiklar.

Med tanke på för- och nackdelarna med att använda Facebook Instant Articles är det en blandad kompott för publicister. Det beror faktiskt på vilken typ av content you producerar och dina affärsmål.

Om du är en nyhetsmediewebbplats är det vettigt för dig att lägga till den. Om du är en företagswebbplats kanske det ej är en stor skillnad.

Vad behöver du för att aktivera Facebook Instant Articles i WordPress?

Det finns några obligatoriska krav för att konfigurera Facebook Instant Articles på din WordPress site. You need a:

  • Facebook page för din WordPress website.
  • Minst 10 eller fler artiklar på din website.
  • Instant Articles for WP plugin (Vi kommer att visa dig hur du ställer in det senare i den här artikeln).

Med det sagt, låt oss komma igång genom att ansöka om Facebook Instant Articles.

Anmäla dig till Facebook Instant Articles

Först måste du besöka Facebook Instant Articles website och klicka på knappen ”Starta intjäning” för att komma igång.

Get started with instant articles

Logga sedan in på ditt Facebook-konto eller skapa ett nytt om du inte har ett konto.

När du har loggat in ser du Creator Studio. Facebook kommer nu att be dig att välja en page under tabben ”Monetization”.

Gå vidare och välj din Facebook Page för din website och klicka på knappen ”Set Up”.

Set up instant articles

Efter det måste du completed setup tasks och submit your page for review.

Först måste du godkänna Terms and Conditions.

Därefter klickar du på knappen ”Begin” för att Add to 10 production articles for review.

Complete set up tasks

När du klickar på knappen visas fler alternativ.

You need to prove the ownership of your website by claiming your URL. Gå vidare och klicka på knappen ”Claim” framför alternativet Claim domain.

Claim your domain

Facebook kommer att visa dig ett code snippet som du måste add till din WordPress website.

Du kan add to upp till 10 websites för Facebook Instant Articles.

Copy the meta tag

You need to copy the code and insert it into the <head> section of your WordPress site.

Det finns två sätt som du kan add to denna kod till din website.

Du kan edit filen header.php i ditt barntema och klistra in koden precis före taggen <head>.

Men om du ej använder ett barntema kan du använda tillägget Insert Rubriker and Footers. För mer detaljer, se vår Step-by-Step guide om hur du installerar ett WordPress plugin.

När du har aktiverat pluginet går du till Settings ” Insert Rubriker and Footers page från WordPress dashboard och klistrar in koden i header-sektionen.

Insert code in the header

Klicka på knappen Save för att spara dina ändringar.

När du har addat koden till din website måste du gå tillbaka till tabben Creator Studio och clicka på knappen ”Claim URL”.

Click the claim URL button

Ett popup-fönster kommer nu att visas.

Du behöver bara enter din domän och clicka på knappen ”Claim”. Om din site fortfarande är under utveckling kan du aktivera alternativet ”This is a development URL”.

Enter your site URL

Därefter kommer du att se din domän under fältet ”Approved domain URLs” när den har blivit approved.

Gå vidare och klicka på knappen ”Confirm”.

Confirm your domain

Nästa steg är att add to ett Instant Articles RSS-flöde för din website.

För att göra det, rulla ner till ”Add production articles” och klicka på knappen ”Add”.

Add production articles

På nästa vy ser du en dropdown-meny där du kan selecta hur du gillar att lägga till artiklar i produktionen.

Gå vidare och klicka på dropdown-menyn ”Add articles” och välj alternativet ”Add with RSS-flöde”.

Add with RSS feed

Ett popup-fönster kommer nu att visas med information om produktionens RSS-flöde.

Här måste du enter URL:en till RSS-flödet.

Enter production feed URL

För att skapa en RSS-flöde URL, kan du head tillbaka till din WordPress webbplats dashpanel och generera en Instant Article feed.

Först installerar och aktiverar du pluginet Instant Articles for WP. Om du behöver hjälp kan du vänligen läsa vår guide om hur du installerar ett plugin för WordPress.

Efter aktivering kan du heada till Instant Articles från din WordPress adminpanel och enter din Facebook Page ID:n. Du hittar ID:n för sidan i Claim domain section i Creator Studio.

Enter your Facebook page ID

När du har enter ID:n för page, glöm inte att save settings.

Tillägget kommer att generera en omedelbar artiklar feed för din WordPress webbplats.

Du kan hitta feeden genom att lägga till /feed/instant-articles efter din webbplats URL, gillar detta:

https://www.example.com/feed/instant-articles

Kopiera din omedelbara artiklar feed URL och växla tillbaka till din Facebook Creator Studio tabs. Därefter anger du URL:en för RSS-flödet och klickar på knappen ”Save”.

Enter production feed URL and save

Facebook visar dig ett success message om att ditt feed har lagts till.

Ställ in Styling och Branding för dina Instant Articles

Därefter kan du editera stilen på dina Facebook Instant Articles.

Gå bara till alternativet ”Configure article styles” under Add 10 production articles for review och klicka på knappen ”Configure”.

Configure article styles

Efter det kan du ändra utseendet på dina artiklar.

Gå vidare och klicka på knappen ”Add style”.

Add article style

Detta kommer att öppna en popup där du kan customize standardstilen för Instant Articles.

Det finns alternativ för att uploada din website logga och edit stilen på din Rubrik, brödtext, byline, underrubrik, med mera.

Det bästa är att du kan se en live preview av den ändring du gjort i fönstret till höger.

Customize your instant articles

När du har gjort ändringarna, glöm inte att klicka på Save och sedan på Done.

Submit Your Instant Articles Feed for Review

Innan du skickar in ditt Instant Articles-feed för review måste du se till att du har minst 10 artiklar i ditt Instant Articles-feed.

Om du redan har publicerat mer än 10 artiklar på din website, men feeden inte visar alltihop, måste du editera dina senaste 10 artiklar och helt enkelt click på knappen update.

När du är säker på att du har 10 artiklar i ditt Instant Articles feed, är du nu redo att submit dem till Facebook för review.

Submit for review

Om det inte finns några error med ditt Instant Articles feed och du har completed all the obligatorisk tasks, then you will see a ”Submit for review” button. Gå vidare och klicka på den här knappen för att skicka ditt feed för review.

Det är all, Instant Articles blir tillgängliga för din webbplats när Facebook-teamet har granskat och godkänt ditt feed.

Bonus: Track Facebook Instant Articles i Google Analytics

Nu när du utan problem har konfigurerat Facebook Instant Articles i WordPress bör du också se hur de utförs.

Genom att tracka deras prestanda i Google Analytics kan du se vilka artiklar som får mest trafik och hur användare interagerar med ditt content.

Det enklaste sättet att spåra Facebook Instant Articles är genom MonsterInsights. Det är den bästa Analytics-lösningen för WordPress och låter dig konfigurera Google Analytics utan att editera kod.

Observera att du behöver MonsterInsights Pro-versionen eftersom den innehåller Facebook Instant Articles addon och andra avancerade tracking-funktioner. Det finns också en MonsterInsights Lite-version som du kan använda gratis.

Först installerar och aktiverar du pluginet MonsterInsights. För mer detaljer, vänligen se vår guide om hur man installerar ett plugin för WordPress.

När du aktiverat MonsterInsights kommer du att se välkomstvyn i din WordPress dashboard. Gå vidare och klicka på knappen ”Launch the Wizard” för att ansluta din WordPress-webbplats till Google Analytics.

Launch setup wizard

Du kan följa vår steg-för-steg guide om hur du installerar Google Analytics i WordPress för mer information.

Efter det, heada över till Insights ” Addons från din WordPress dashboard och navigera till ”Facebook Instant Article” addon.

Install Facebook instant articles addon in MonsterInsights

Klicka sedan på knappen ”Install” så aktiveras addon automatiskt.

Det är allt, det finns inget behov av att konfigurera ytterligare. MonsterInsights kommer nu att börja spåra dina Facebook Instant Articles i Google Analytics.

Tips för felsökning av Facebook Instant Articles

Facebook kräver att din Instant Articles feed matchar de specifikationer som beskrivs på deras utvecklares website. Instant Articles for WP plugin hanterar den delen åt you.

Beroende på vilket tema eller tillägg du använder på din site kan du dock se vissa error eller varningar. Ett enklare sätt att troubleshoota dessa error är genom att edit ett inlägg och rulla ner till metarutan Facebook Instant Articles under post editor.

Instant article warning in WordPress

De flesta av felen orsakas av tillägg eller teman som lägger till content i dina posts som inte stöds av omvandlingsregler som används av Instant Articles for WP plugin.

Du kan skapa dina egna custom transformer-regler. Se pluginets dokumentation för att lära dig hur du lägger till dina customize omvandlarregler.

Vi tror dock att det skulle vara svårt för de flesta Beginnare att göra det på egen hand, så du kan behöva en utvecklare. Du kan försöka konfigurera dina andra tillägg och themes och hindra dem från att lägga till content block i dina posts.

Felaktiga URL:er

Om du kontinuerligt får ett Empty Feed error när du skickar in ditt Instant Articles-flöde, kontrollera sedan URL: en du försöker lägga till.

http://www.example.com/feed/instant-articles

http://example.com/feed/instant-articles

Det här är två olika URL:er och beroende på hur din WordPress är konfigurerad kan det resultera i ett 404 error om du enter den felaktiga URL:en.

Om du fortfarande ser det tomma feed error, försök då updating de senaste tio posterna på din site. Detta kommer att ändra deras tid som ändrats och kommer att add dem till feeden.

Vi hoppas att den här artikeln hjälpte dig att konfigurera Facebook Instant Articles för WordPress. Du kanske också vill se vår lista med 40 användbara tools för att hantera och utveckla din blogg i WordPress och hur du startar en store online.

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.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

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.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

109 kommentarerLämna ett svar

  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

    I wanted to try Facebook Instant Articles, but every time I click on your link in the article, I only get an error from Facebook saying that the requested content is not available. Is this service still working, or is it restricted to certain regions?

  3. Derek says

    This says nothing about actually adding ads form the audience network though which is the hardest part.

    • WPBeginner Support says

      That topic would likely be best for a different article but thank you for the suggestion :)

      Administratör

  4. vicky says

    I have created a website recently. it’s just been 20 days. And also i have created a Facebook page 4 days ago. my website has around 13 posts and on facebook page i have published 2 posts.
    So is it something like that my facebook page should be 90 days old so that my page can be eligible for Facebook instant.?

    • WPBeginner Support says

      You do not need a specific hosting plan for Facebook Instant articles, for this method you would just want to be sure your site is a WordPress.org site.

      Administratör

  5. Naman Modi says

    This post really inspired for me . Therefore, try it especially if you want to increase traffic to your site. Take advantage of Facebook’s massive user-base to share your work.

  6. Geet Rajput says

    The provided URL is not being accepted because the site has minimal readership, which violates the Instant Article Policies. Please provide a different URL.

    this error show for my website. in my website 80+ article post. please tell me what to do.

    • Alex says

      Most of the stuff is still accurate and applicable. You should have no problem following it. The only difference is that you no longer need to create a Facebook Developer App to do it. Essentially, Facebook made it easier.

  7. Mathukutty P.V. says

    Thanks. I was looking in google about fb instant articles and also tweeted. But I dont think this will give more traffic to blog.

  8. Suraj says

    Hiiii;
    thanks for such a good post i have successfully setup the instant article.But i am getting a problem that my posts don’t show images on instant article and some post don’t show ads.
    can you please help me..

  9. Milan says

    Hello, I have problem. When I try to activate Word press Instant Article plugin I see this: ”No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0” ?

  10. Vinayak Kejriwal says

    How to solve this error while claiming the URL in Step 4 :
    “The fb:pages tag on the url doesn’t contain this page’s id. The url has fb:pages tag but they don’t have this page’s id. Please work with your developers / webmaster to add this tag to your website.”

  11. Rohit says

    thanks for this tutorial…
    i am facing problem in claiming my url
    whenever i try to claim my url, it shows something like this.

    ”We tried going to your page and checking the page tags present, but there was a failure.”

    please tell me what to do now.

  12. Dameh says

    Please help. It seems the Instant Article plugin for WP has been updated and I was unable to follow your tutorial to set up the Plugin on my WordPress dashboard as the setting page looks totally diferent from what you showed on your images.

    • Yatin says

      Same is happening with me.. in first page of plugin..it is asking me for page id
      Placement id.
      Ad size and lots more things..
      and when along with this error when i am entering that feed url then in result that url is showing full coding in result..
      plz help me out

  13. Elie says

    Hello,
    thank you for your tutorials
    when installing the plugin, it gives me this error!

    Installation failed: Could not copy file. fb-instant-articles/vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Transformer/Warnings/NoRootInstantArticleFoundWarning.php

  14. david says

    greetings… WPBEGINNER SUPPORT, i appreciate this post.. very educative.
    i was able to submit for review following your steps.
    please i need help on the instant article plugin for wp, i could not submit for review, when ever i try submitting, i always get ” Permission Error”.
    i wish to know if that will also be needed after the review from facebook team? Thank you very much……….. you are so kind.

  15. Kumar Sarthak says

    In the WordPress instant article plugin, i am facing a error while logging into facebook. ”ERROR – Facebook SDK returned an error: Couldn’t resolve host ’graph.facebook.com”
    and when it is directed to facebook, this is the messga i get, ”Submit for Login Review
    Some of the permissions below have not been approved for use by Facebook.
    Submit for review now or learn more”
    Please help me.

  16. Pankaj Pandey says

    The fb:pages tag on the url doesn’t contain this page’s id. The url has fb:pages tag but they don’t have this page’s id. Please work with your developers / webmaster to add this tag to your website.

    I am getting this error continously and unable to claim the website. plz help

  17. Giuseppe says

    Hi, I use an advertising script I have inserted in the dedicated section of the wordpress plugin code . The posts that are published show instead of advertising a blank, why?

    Thank a lot for your support
    Best regards

  18. Eduardo Pimentel says

    Hi!

    First of all, thanks for this article! :-)

    But, I’m with a problem when you say:

    Simply install and activate the Instant Articles for WP plugin. Upon activation, the plugin will generate an instant articles feed for your WordPress site.

    In my case, my RSS url doesn’t work:

    Do you know why?

    Thanks a lot, dude!

      • Lori says

        I did that and one more thing…

        I went to my Facebook Page > Publishing Tools > Published Posts at the top of the sidebar.

        From there, I located my most recently shared blog post and clicked on it to open the Post Details box.

        Then under the little down arrow that is your normal edit button on a post, I clicked on ’Refresh Share Attachment’

        That was the thing that made it all work. :)

  19. Dexx says

    Hi Admin. Thanks for nice step-by-step tutorial. I just want to ask, how to add related articles at the bottom of instant articles. it is automatically show only for visitor or need some code to make them appear?. Thanks.

  20. Izzat says

    Thanks for this great post. I followed your steps and i managed to set it up on my fb page. But I have a problem.

    I have customize the styles in with facebook style editor and everything was okay when I review it with fb pages apps. But the problem is, when i share the articles, the published post used ’default’ style instead of the other one. Please help me.

  21. Pallav Juneja says

    In my WordPress account under every post its written that your article is being submitted with 0 warning but at facebook publishing tools I still can’t press the submit button it says
    We have automatically detected one or more common errors that need to be fixed before you can submit for review.
    Missing Logo
    All articles must include a logo, which you can upload in the Style Editor.
    Examples
    and list of my posts
    Hope You Could Help me out

  22. Marv says

    No matter what changes I make, I cannot submit articles.There has to be a better plugin than this one. It;s always buggy or not compatible with ”this version of WordPress” I got it right the first time with a client;s site, but after I cannot publish any other new articles. Tried to set up my site, I can’t submit articles at all.

    My head hurts.

    • Marv says

      I am replying to my own comment (weird) because I fixed the problem I was facing. Missing logo. My articles were fine, but no matter how many style editors I created, I couldn’t fix the ’missing logo’ error. What I did was go back to the ’default’ or ’preset’ style editor and customized it. Voila! Articles were submitted. Problem solve. I am still looking into it though. Maybe it’s me, but I find this plugin a wee bit buggy

  23. Nis says

    Hi, I am running multiple lingual website. I want to run the instant article both of the above domains. How is it possible? Do I need to merge two rss feeds. Need your suggestion.

  24. G. P. Gautam says

    Hello, WB Team.

    Great and detailed guide on Facebook InstantArticle.

    Sir, I am also using this tool for my website. My posts have been submitted to InstantArticle with some errors. I fixed some of those. But, I can’t find solution for this,

    ”no rules defined for in the context of InstantArticle”.

    Sir how to fix this problem. Please help me.

  25. habelse says

    Hi, very helful guide but my blog begins with https not http. after i insert the code given by facebook in header, i could be claimed the url but when i tried tu insert the url begin with http it’s fine

    i accessed my url http://example.com/feed/instant-articles but it said that the url was not found because my blog automatically direct http to https

    how to solve this, thanks :)

  26. Prashant says

    All the links that I share are being converted into instant articles. I want only selective articles to be published as instant articles. I use affilate links in some posts which dont wirk in instant articles. Please help!

  27. rohit mahadev says

    Next, log into your Facebook account
    Log in with Facebook to finish connecting the Instant Articles Plugin to your account.

    Login with Facebook

    after This, it is not logging in just it reloads nothing happens
    sir can You Guide me Please regarding this problem

  28. Ryan Hanley says

    This is by far the most useful resource I’ve found for adding FB Instant Articles.

    One question, do you have a tutorial for excluding certain post categories from your Instant Articles feed?

    Thanks!

  29. Sumair Mangi says

    on this step ”The plugin’s settings page will now show you a login with Facebook button.” when i click on login with facebook the page reloads and nothing happens please help me asap

  30. kalibbala says

    hello team,
    great material, thks. I hv created everythg and it all seems well however on the post page this error:
    *This post will not be submitted to Instant Articles due to a rule created in your site.*
    How can i go over this thks.

  31. Princewill Ejiogu says

    hi thanks for this article but the instant article cant recognize short code because i use it to embed my videos is there a way around this pls

  32. Ejiogu Princewill says

    hi i have done all the processes but i keep getting this error at the final stage : Permissions error pls how can i fix this

    • Ashwin says

      You can check what causes this issue if you look at Instant Articles settings on Facebook. For me, the page logo was missing. Once I uploaded that, the Permissions Error went away.

  33. Garland Smith says

    I’ve just been approved for Facebook Instant Articles. I’m using the ”Instant Articles for FB” Plugin to publish my Instant Articles. I just published blog Post and it shows up as Live in Instant Articles. How do I get the Instant Articles link? I don’t see it anywhere and I don’t have any idea how to access it. Any help you can provide would be appreciated.

    Thank you,
    Garland Smith

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.