Code Monkey home page Code Monkey logo

link-prevue's People

Contributors

bitofbreeze avatar dependabot[bot] avatar james-quigley avatar nivaldomartinez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

link-prevue's Issues

Feature Request: Typescript

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.

API crashed & API repo replication failed

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

Demo not working

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

Add option to show button when loading

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.

broken link for facebook urls

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.
a

Cors Error using heroku endpoint

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 ?

There is no consistence of showing thumbnail.

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

Preview of specific Youtube video

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

Wrong url causes the plug in to crash the whole web application

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.

not working with nuxt

i try to install it and register it as a plugin
but unfortunately not working

any help ?

Has been blocked by CORS policy

Error

Attach a image in your application:

image

Steps to reproduce the behavior

  1. Go to https://link-prevue.herokuapp.com/#
  2. Introduce https://vuejs.org/
  3. Click in Prevue button
  4. See error

Expected behavior

The preview info about link

Actual behavior

Error CORS (see attached image)

Additional information

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/.

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.