nivaldomartinez / link-prevue Goto Github PK
View Code? Open in Web Editor NEWVue component for generate a link preview
Vue component for generate a link preview
The heroku server is down could you please fix the issue?
Are there any plans to move code to support Typescript?
If you'd like, I can migrate the code into typescript, and setup the build process to support creating the types folder.
Else, is there any plans to create the declaration files (.d.ts)? I know some projects will make these, and add them to DefinitelyTyped.
Hello,
I was using your component and it works perfectly, I even added some style modifications to fit my requirements.
But, during my current development and a constant use of this I noticed that the api started to response with status 500. And then I check your api link and it was broken.
On the other hand, I also checked your API repo to replicate it on heroku, but I couldn't see the way to make it works. I did some modifications in the project but I never could have a build app in heroku from your api repo.
Can you please help me to solve this?. I want this awesome component back ๐ค๐พ
Regards and thanks in advance.
Luis
Chrome 69 on macOS
Opening demo works, but when i type in "www.google.com" and click on the button it doesnt show any loading indicator or preview as it should
I'm getting bad request when I try to access this site: https:cacoo.com.
How to customize the UI, e.g. Custome Height, font-size, font color etc.
Loading data for multiple links will take some times, hence will like to show a button when it is loading, this is possible as button will normally need only URL which is provided as component property.
Greetings!
I am currently using link-prevue for our project but i noticed that if the url provided to the prevue is from facebook the preview doesn't work. (well except this url: https://www.facebook.com/)
the link above the prevue component was the url provided in it. the link above work fine but it's different when i tried to open it using the prevue component.
When the ui consumes the heroku endpoint: https://link-prevue-api-v2.herokuapp.com/preview/
it happens CORS error as shown below:
Access to XMLHttpRequest at 'https://link-prevue-api-v2.herokuapp.com/preview/'
from origin 'https://my-domain.com' has been blocked
by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Also seems that there is an Application error when you click to endpoint above and there are no CORS header to the request response.
How can be resolved ?
i'm facing this issue on local as well as on server. link-prevue show thumbnail of some articles then i refresh my page it again show some of article's thumbnail..
And one more thing how i can check if there is error in props.img
Hi, nice work!
Right now, any request made with link-prevue for any Youtube video returns:
{
description: "Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube."
images: Array(0)
title: "YouTube"
}
I would like to receive the description, thumbnail & title of that specific video. How could I get it?
Thank you
Mixed Content: The page at 'https://platform.workfall.com/developer/chat' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://linkpreview-api.herokuapp.com/'. This request has been blocked; the content must be served over HTTPS.
I made a mistake in my application which passes a wrong url to the plugin. Example: instead of https://yahoo.com, the url being passed is https://yahoo.com">ย .
I already fixed my application, unfortunately there are already lots of entries in my database.
It was my fault of passing the wrong url, but it doesn't make sense that the plugin crashes the whole application just because it receives a wrong data. There should be a fail safe.
Access to XMLHttpRequest at 'https://linkpreview-api.herokuapp.com/' from origin 'http://localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hello.It gives me this Error
Access to XMLHttpRequest at 'https://link-prevue-api-v2.herokuapp.com/preview/' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
i can't set the image with a custom card
I wanted to use this backend without Vue, what is the full api url to retrieve the json. Example:
https://linkpreview-api.herokuapp.com/url=https:/facebook.com/arianagrande&format=json
i try to install it and register it as a plugin
but unfortunately not working
any help ?
is there a problem with the plugin?, I think the plugin is not working properly. the plugin still loading even on demo https://link-prevue.herokuapp.com/
Attach a image in your application:
The preview info about link
Error CORS (see attached image)
I just updated from version 1.1.3 to version 1.2.0 and that's when I saw the error. I tried to change the prop api-url
but it still uses the URL https://link-prevue-api-v2.herokuapp.com/preview/.
bangla language is not supported in this prevue
When you checkout link prevue on https://link-prevue.herokuapp.com/, there is also the CORS error:
Request URL: https://link-prevue-api-v2.herokuapp.com/preview/
Referrer Policy: strict-origin-when-cross-origin
Error: CORS error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.