Verd
Verd
Offline
Hi all,

I've done installing Arastta.
Next step is trying to make it available in Facebook.

I confused with the documentation in https://arastta.org/docs/user-manual/extensions/facebook-store.
In the last section it says:

Copy-Paste the "Generated Code" to Facebook so then your store will be integrated with Facebook.

But it does not explain which part of facebook to paste the generated code.
Is it in the wall post or in the part of facebook app setting or other place?

Please help.

Thanks
Verd
In General
Monday, October 10 2016, 10:24 AM
Share this post:
Responses (6)
  • Accepted Answer

    Monday, October 10 2016, 10:42 AM - #Permalink
    Hi,

    As stated in the documentation, you need to create a Website app from the Facebook Developer portal and paste your generated code into it. This video may help.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 10 2016, 12:43 PM - #Permalink
    And the result could be something like this demo: https://www.facebook.com/norskarastta/app/190322544333196/ :)

    Tip! To get a nicer view, add styling.

    T.ex. in index.html start with adding (use your own iframe code, just change width):
    <head>
    [[style.css]]
    </head>
    <body>
    <i-frame src="https://YOURSITE.TLD/index.php?route=feed/facebook_store" frameborder="0" scrolling="no" width="790" height="1400"></iframe>
    </body>


    Then in style.css add:
    body {background:#fff;padding:10px;}
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Verd
    Verd
    Offline
    Tuesday, October 11 2016, 05:00 AM - #Permalink
    Many thanks @Enes @Rune for answering.

    It works using FB App Static HTML, however when I select certain category no product displays (I enabled "Show Category" option as attached).
    Is there someting else I should do to make category selection works?

    I also enabled Show Search option, and when I execute a query, the results is displayed in a new tab-window. Is it expected?


    Verd
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 11 2016, 02:20 PM - #Permalink
    On the image, that setting is for displaying category select on the top of the feed (Facebook page), I believe. So the text is misleading, should probably be 'Show Categories' (or better 'Display Categories').

    How did you select certain category by the way, from the dropdown at FB page? Then remember to select one containing products, it works on the demo link above.

    Search and other stuff opening the store itself in a new tab/window, sure it's expected, it's the only good way. The FB page is just a showoff, not a complete built in marketplace (if it was you probably would have to pay FB to ;)).
    The reply is currently minimized Show
  • Accepted Answer

    Verd
    Verd
    Offline
    Tuesday, October 18 2016, 05:35 AM - #Permalink
    Thanks for answering Rune.

    Actually I've tested other open source cart and its embeddable shop is quit impressive. And not only on facebook desktop, but also embeddable in other website (wp for example). Its not only a one page catalog, but visitor also able to purchase in the embedded version. I havent tested it using payment processor though.

    I believe it is possible to implement it in Arastta too. Unfortunately my javascript knowledge is still limited.

    Verd
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 18 2016, 12:08 PM - #Permalink
    Do you have any examples? Core WP isn't a store system, so what extensions are you reffering to? Demo?
    Arasttas main language is php.

    Btw! If anyone wants to do all at FB, why would they need Arastta? There is dedicated FB stores too.
    Like
    1
    The reply is currently minimized Show
Your Reply