GithubHelp home page GithubHelp logo

Comments (6)

tristantbg avatar tristantbg commented on August 22, 2024 2

Hi @bnomei and @squareclouds,

I added a new site method called getEmbedData() :

$site->getEmbedData($url);

from kirby-embed.

squareclouds avatar squareclouds commented on August 22, 2024 1

excellent, works like a charm!

from kirby-embed.

squareclouds avatar squareclouds commented on August 22, 2024

@tristantbg thank you for checking the instagram bug. now that everything works (even tiktok and soundcloud and spotify! everything i need!) i would love to store the field from the frontend, but again, my above problem persists.

do you have any idea on how i could do it? i am a designer with ok coding knowledge, so this is a bit too complex for me, i think.

but..

i saw you have the route

'kirby-embed/get-data'

in your api. can i call it from the frontend using a user that has no panel access? my frontend users have only frontend access

from kirby-embed.

squareclouds avatar squareclouds commented on August 22, 2024

PS: for the time being i am using a workaround. i created my own regular route (not api route) and copied your route code :) i tested it very quickly but i get a response for the media array

from kirby-embed.

bnomei avatar bnomei commented on August 22, 2024

@sylvainjule i ran into this feature request as well when trying to migrate a regular url to your embed plugin. being able to request the sync data manually would really be helpful.

from kirby-embed.

squareclouds avatar squareclouds commented on August 22, 2024

@squareclouds thanks so much! :)

from kirby-embed.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.