I'm using Vuejs frame-work, and I'm looking for a solution that will allow me to pull from a link of shopping sites like Amazon and show me all the product details on Json, like there is on YouTube that when copying a link for example to WhatsApp, then the link loads information about the video.
someone know witch technology is recommended for this?
You could use a web crawler such as dexi.io to extract the html of interest from any web page. Calling dexi can be done programmatically from your code.
Related
LinkedIn has a /share API endpoint which accepts a link and a message. The link is afterwards expanded to an OpenGraph card and that gives you a way to stick an image preview in there, but it seems there's no other way to upload an image/picture to LinkedIn feed like you can do in the web app itself.
Is there a way, private API, undocumented endpoint or some other way to do that?
Creating a rich media share is done in two steps. First, the media is uploaded to LinkedIn's media platform. Then, a personal or organization share referencing that media is created.
This URL might be help you.
https://developer.linkedin.com/docs/guide/v2/shares/rich-media-shares#upload
No. You need to give us the URL and we'll scrape it (or pull it from our cache).
In facebook, we can specify a web page url and add comments to it, or fetch comments for it, with the Graph API.
Later we can fetch the comments for the page, using a sample code, and display them on my page, as a widget, using a javascript code.
Similarly, is it possible to setup comments for a web page virtually using google plus, and display them with a code, using the API ? I came across google plus client library for php, but not sure about how to achieve what i wanted, with it.
Currently there is no public write API for Google+ or a way to bi-directionally integrate Google+ comments with an outside web page.
You can incorporate comments from a Google+ post onto your static page. Here are a couple of resources that can illustrate how:
The full documentation for the Google+ read API is at https://developers.google.com/+/api/ and there are libraries for PHP and JavaScript at https://developers.google.com/+/downloads/
http://little418.com/2011/12/google-comments-on-your-static-html-blog.html contains some examples about how to echo comments from a Google+ post.
I'm building a Shopify's app which suppose to add Schema.org rich snippets according to data which is remotely stored on my server. In order that Google's crawler will actually analyze this snippets, they must be loaded during the page load, and not dynamically by some JavaScript.
Any suggestions if / how can I do something like that?
Take a look at modifying an existing theme on their documentation page.
You could also try assets, based on this answer.
There are multiple servies that let you insert pictures and videos into the twitter stream. - with instagram and youtube being two of the first that come to mind.
The question is - how do I do that?
If I want a custom image, and I want to link them back to my site - do I have to use the /statuses/update_with_media.json endpoint (which adds it to pics.twitter.com) along with my own link? Meaning two links?
Is there a trick to how these sites do it, or are they officially supported by Twitter?
To play "in-line" on Twitter.com. Only a select few services will allow this.
in case of videos for example, refer to this article on Twitters website.
https://support.twitter.com/groups/31-twitter-basics/topics/109-tweets-messages/articles/75603-how-to-post-videos-on-twitter
You would need two links if you wanted to host a picture on Twitter itself and have it link to another place. The pictures hyper-link would be converted and another link would need to be added next to it.
more:
How do I add an image to a tweet or how does twitter decide which image urls to render
Is there a public API or meta data to integrate with Twitter new media system?
(PS great CI articles, thanks for all your help! :)
There is a Worpdress plugin, which makes for a great example, that does exactly what I am asking, called Vikispot. However, I would like to use Google Data API as the source of the data for Videos, Blogs, News, etc... then just like Vikispot, display the data on my website in a sidebar. Vikispot does the job as far as displaying data from other websites that are related to the keywords in a blog on website, in a sidebar. Although I would like the same code that Vikispot is using and implement this into my drupal based website.
I have searched all over the place and cannot find an answer. I hope it isn't right under my nose =]
Google Data API 2.0 supports an Atom-format RSS interface.
Use the RSS variant of Google Data API with any RSS feed reader widget. There are dozens..