Comments (8)
Maybe we should throw a Yii::warning in such cases?
from linkpreview-issues.
@luke- I cannot understand how this module should work.
When I create a new post with text like Test http://spotify.com text
I don't see the link is rendered with thumbnail icon as it is displayed on doc page. Should I enable something else to make this module works?
I run composer install
successfully.
But I can run npm install
without errors only if remove a comma after "doc": "docs",
and if remove completely the line
"euskadi31/Opengraph": "^1.0.0"`` because it seems the package doesn't exists, I got the error:
npm ERR! code EINVALIDPACKAGENAME
npm ERR! Invalid package name "euskadi31/Opengraph": name can only contain URL-friendly characters
This is a single package so if we will remove I don't see a reason to keep the package.json
at all. Please correct me if I am wrong here.
from linkpreview-issues.
@yurabakhtin I fixed the problem with the Composer Json, seems that ComposerV2 had a problem with the capitalization of the package name.
Can you try a composer install again?
from linkpreview-issues.
@luke- Yes, in my previous comment I forgot to report about the issue in composer.json
, I fixed that too on my local file without commit yet, but if you did this first then thanks, , so I could install it after the same fix
However as I wrote above the problems exist in the package.json
and it seems we don't need that at all, can you please check that?
from linkpreview-issues.
@yurabakhtin Yes, I think we can delete the package.json file. Does the module work for you now?
from linkpreview-issues.
@luke- Yes, the problem was in redirect URL on the server side of the URL, for example, the url https://www.spotify.com/
redirects me to https://www.spotify.com/ru-ru/
so I need to use this url to test this module.
from linkpreview-issues.
@luke- I have implemented to display the validation errors after fetching an URL:
MR https://git.humhub.org/modules/linkpreview/-/merge_requests/1
from linkpreview-issues.
@yurabakhtin Thanks & Merged
from linkpreview-issues.
Related Issues (20)
- Links should at least default to rel="noopener"
- Bad description in case using youtube HOT 1
- Wrong characterset for Youtube links in German HOT 1
- Internal Calendar & other links do not preview. HOT 6
- Problem accepting payment HOT 1
- Preview on peertube video
- Replying to a sub-comment "mentions" the preview
- Doesn't works on mobile.
- Preview showing in the edition field but not on the post, after saving HOT 1
- Oembed is not working properly in the mail module
- [Future Request] REST API
- Bought this. Does not work HOT 5
- Error with PHP 8.1 and error_reporting(E_ALL) HOT 1
- Image should contain at most 255 characters HOT 2
- Small error in log - version 2.0.0-beta.1 HOT 1
- Remove 'error' text on internal links HOT 2
- Alert box showing "asdf" HOT 1
- Preview Image size
- Problems with ร or รจ chars HOT 1
- LinkPreview was working great and then just stopped working HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkpreview-issues.