How does instagram create huge thumbnails on its user's feeds - facebook-opengraph

I would like to understand how does instagram show large image thumbnails, with each thumbnail having individual actions such as Like and comment. Is it possible to do via the Open Graph API or is this due to Instagram being a property of Facebook?
The custom action and objects API does not seem to allow such a layout. An example is shown below

This is supported by the API via the user generated photos functionality:
https://developers.facebook.com/docs/opengraph/usergeneratedphotos/
has the docs, and you need special approval for your actions
You add the following parameters to your existing publish calls:
image[0][url]=<URL TO IMAGE>
image[0][user_generated]=true
image[1]... etc
{edit:} Actually, i'm not sure how to render that aggregated unit - my answer above is for the photos functionality itself

Related

How to display images of a post as a media gallery in wordpress

Situation
I used user-frontend API to make user capable of uploading image. But this post page posts the image and the image is visible in media library(which contain other previously submitted posts as well).
Problem
I want to display the images associated with a particular post to be displayed as a media gallery.
Methods I tried
user-frontend API had option of selecting post type as user gallery but even after opting for it its not working properly.
I think I can use user-post gallery API that allows me to display the images as a gallery, but I dont know how to integrate both the APIs.
I have some other requirements for which user-frontend API is best choice so cant remove this.
I need some guidance regarding how it can be done maybe through above methods or some meta key or php code.
Kindly ignore the silliness. Its my first wordpress project:)
Direct me if its not possible or if it is possible only without user-frontend API.

Using Instagram API to automatically show recent user images by username?

I have a feature on a WordPress website that I'm working on where an Instagram feed is displayed on a user's page. They are able to enter their IG username. I want to be able to simply display the last 10 images from their feed. I would do this manually but there will be many, many users on this website.
I'm not clear from their documentation how to do this in an automatic way. I can show a feed for an individual account if I register via that account on the Instagram Developers page, create an access token, and figure out my client ID. This is a manual (and tedious) process as far as I can see.
I tried even looking if I can scrape the Instagram page as the format is just https://www.instagram.com/username but they almost appear to obfuscate the class names to prevent this.
Is there no way to simply (via a plugin or otherwise) just poll Instagram for a certain public user's images and return them?

Images in Media Library improperly duplicated via Product Image URL field in API

I have a Woo store with an API integration from Salesforce.
Each time a product is saved in Salesforce, the data from all connected fields pushes over to Woo and overwrites the data in Woo.
The Product Image is being populated with a full URL from a Salesforce field, like this:
http://thecrucible.org/wp-content/uploads/crucible-test-image.jpg
Each time the field pushes over to Woo, the image is duplicated in the Media Library, like this:
http://thecrucible.org/wp-content/uploads/crucible-test-image-2.jpg
http://thecrucible.org/wp-content/uploads/crucible-test-image-3.jpg
http://thecrucible.org/wp-content/uploads/crucible-test-image-4.jpg
And so on..
The Product always uses the latest version of the duplicated image.
Is this a core function of Woo, to duplicate an image when its URL is re-populated via an API integration? I don't imagine I would want to try to "turn off" that feature. Or maybe it's actually WP core function?
After speaking to an engineer at WooCommerce.com, they confirmed that if I create/update the image via the API using the "id" field rather than the "src" field, the image duplication problem will go away because WordPress will correctly recognize the image as an existing image in the Media Library.

Is it possible to get the user mentioned media using Instagram API or RSS feeds?

I want to get the authenticated user's mentioned media using Instagram API.Is that possible to fetch those posts? Besides, as of all of us know that Instagram has released a new feature like multiple image as single post.For these kind of posts we are receiving a gray image as image url and type as video.Can we get all the uploaded image urls or the first image url at least? It looks so bad while showing that grayed picture in our application.
There is no API to get media with user mentions.
For the multiple image, use this as work around for now: https://stackoverflow.com/a/42429285/423089

google gdata api in asp.net

i am in process of creating a image catlogue for a client, i was thinking that upload the relevent images to picasa and make it as private, then using gdata fetch the album name of the particular picasa user , after choosing it show all the images of the album in thumbnails in site. i am planning todo with asp.net and gdata , i am struck with the authentication process, i dont want the client to create a gmail id for each of his customer to view the catlog images, is there any possible way to show all the images
Just tag the photos with user names, then you can store them all in one album under one Gmail account, and retrieve the correct subset of photos based on the associated tags.
You could also use the facial recognition feature to make the tagging process easier for yourself, if there are people in the photos.

Resources