=== Moby Feed ===
Contributors: mobyapp
Tags: instagram, tiktok, feed, instagram feed, social feed
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Muestra tus feeds de Instagram y TikTok en WordPress con un diseño premium, sin cookies de terceros. / Show your Instagram and TikTok feeds in WordPress with a premium design and no third-party cookies.

== Description ==

**Español**

Moby Feed muestra en tu web las publicaciones de tus cuentas de Instagram y TikTok conectadas en [Moby Bridge](https://bridge.mobyapp.eu/social/feeds). Diseñas el feed una vez en Bridge y lo insertas en WordPress con un bloque de Gutenberg o con un shortcode.

* Cinco diseños: cuadrícula, mosaico, carrusel, lista y destacado.
* Temas claro, oscuro, minimal, cristal, marca y personalizado (colores, tipografía, redondeo, espaciado y CSS propio aislado).
* Lightbox accesible con vídeos, carruseles, me gusta y comentarios.
* Responsive según el ancho de la columna, no de la pantalla.
* Sin cookies de terceros: las imágenes se sirven desde los servidores de Moby, nunca desde Instagram o TikTok.
* Script ligero (menos de 25 KB) que solo se carga en las páginas que muestran un feed.
* Interfaz en español, catalán, inglés, francés, alemán, italiano, portugués y rumano.

Uso: `[moby_feed id="fw_xxxxxxxxxxxxxxxx"]`. Atributos opcionales: `layout` (grid, masonry, carousel, list, highlight), `theme` (light, dark, minimal, glass, brand, custom) y `limit` (1–50).

**English**

Moby Feed displays the posts of the Instagram and TikTok accounts you connect in [Moby Bridge](https://bridge.mobyapp.eu/social/feeds). Design your feed once in Bridge and embed it in WordPress with a Gutenberg block or a shortcode.

* Five layouts: grid, masonry, carousel, list and highlight.
* Light, dark, minimal, glass, brand and custom themes.
* Accessible lightbox with videos, carousels, likes and comments.
* Responsive to the column width, not the screen width.
* No third-party cookies: images are served from Moby servers, never from Instagram or TikTok.
* Lightweight script (under 25 KB), loaded only on pages that show a feed.

Usage: `[moby_feed id="fw_xxxxxxxxxxxxxxxx"]`. Optional attributes: `layout`, `theme` and `limit`.

== External services ==

This plugin relies on the Moby Feed service, provided by Moby (https://www.mobyapp.eu/). Without it the plugin cannot display any feed.

* **embed.mobyapp.eu** – On pages that contain a Moby Feed block or shortcode (and in the block editor preview), the visitor's browser loads the widget script from `https://embed.mobyapp.eu/v1/feed.js`. The request includes the usual browser data (IP address, user agent, referring page).
* **harpoon.mobyapp.eu** – The widget then requests the feed data (posts, images and profile information configured in Moby Bridge) from `https://harpoon.mobyapp.eu/api/v1/social/public/feeds/{widget-id}/` and sends an anonymous view counter request (`…/view/`). The widget ID and the page origin/referrer are sent to check that the domain is allowed. No cookies are set and no personal data is stored by the widget.

Este plugin usa el servicio Moby Feed: el navegador del visitante carga el script desde embed.mobyapp.eu y obtiene los datos del feed desde harpoon.mobyapp.eu, solo en las páginas que muestran un feed. No se instalan cookies.

Privacy policy / Política de privacidad: https://www.mobyapp.eu/privacidad
Terms of service / Condiciones: https://www.mobyapp.eu/terminos

== Installation ==

1. Upload the plugin from Plugins → Add New → Upload Plugin (or copy the `moby-feed` folder to `/wp-content/plugins/`).
2. Activate it.
3. Go to Settings → Moby Feed and paste your default widget ID (optional).
4. Add the “Moby Feed” block to a page, or use the `[moby_feed id="fw_…"]` shortcode.

1. Sube el plugin desde Plugins → Añadir nuevo → Subir plugin.
2. Actívalo.
3. En Ajustes → Moby Feed pega el ID de tu widget por defecto (opcional).
4. Añade el bloque «Moby Feed» o el shortcode `[moby_feed id="fw_…"]`.

== Frequently Asked Questions ==

= ¿Dónde consigo el ID del widget? / Where do I get the widget ID? =

En Moby Bridge → Social → Feeds. Empieza por `fw_`. / In Moby Bridge → Social → Feeds. It starts with `fw_`.

= ¿Necesito un banner de cookies? / Do I need a cookie banner? =

No para el widget: no instala cookies ni carga contenido de Instagram o TikTok. / Not for the widget: it sets no cookies and loads nothing from Instagram or TikTok.

= ¿Puedo poner varios feeds en la misma página? / Can I show several feeds on one page? =

Sí. Cada bloque o shortcode es independiente. / Yes, each block or shortcode is independent.

= El feed no aparece / The feed does not show =

Comprueba que el ID es correcto, que el widget está activo en Bridge y que tu dominio está en la lista de dominios permitidos (si la usas). Si el widget no existe o está desactivado, no se muestra nada a los visitantes y se escribe un aviso en la consola del navegador. / Check the ID, that the widget is active in Bridge and that your domain is allowed.

= ¿Funciona con constructores de páginas? / Does it work with page builders? =

Sí: usa el shortcode en cualquier módulo de texto o HTML. / Yes: use the shortcode in any text or HTML module.

== Screenshots ==

1. Cuadrícula con cabecera de perfil / Grid layout with profile header.
2. Carrusel con reproducción automática / Carousel layout.
3. Lightbox con carrusel de imágenes / Lightbox with carousel.
4. Bloque de Gutenberg con vista previa en vivo / Gutenberg block with live preview.
5. Ajustes → Moby Feed / Settings page.

== Changelog ==

= 1.0.0 =
* Primera versión: shortcode, bloque de Gutenberg y página de ajustes. / First release.

== Upgrade Notice ==

= 1.0.0 =
Primera versión. / First release.
