I'd like to integrate an application where users post photos on my site and relate that photo to this particular group that they were invited on.
I'm looking at this Opengraph console from Facebook and it says ActionImage[]. Do I link an actual sample of a photo from my site here or do i just write a mock url of the photo?
in your params do image[0][user_generated]=true&image[0][url]=imageurl for example...
Related
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?
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
So a company I'm working with gets mentioned in the media from time to time (BBC & other big news sites).
Is anyone aware of fees / licenses we will need to use the content that BBC etc provides using OpenGraph and post that content on our site?
So essentially we want a little card on our site with the page title, OG image, URL and possibly the description, when the user clicks this it will open the original page/link on the original source site.
I can't see too much info out there other than sharing on facebook, not using OpenGraph on our site.
Can anyone share some knowledge? Cheers!
If I get your question correctly, you want to retrieve posts on the BBC site, scrape the information and show in your own site, right?
Does the site of BBC, and possible others, provide a feed where you can subscribe to? In that case, you could monitor that feed for any mentions of your company.
Alternatively, you can use one of Facebook's partners that use the Keyword Insights API. There you can set up monitoring for your company name and integrate with their API.
I am creating a website that allows users to post a picture to their wall that is linked to an interactive version of that post (the wall post/picture is basically a screen capture of this interactive content) in a unique URL. I want to be able to gather profile data from any user that clicks the link in Facebook and interacts with the content.
Is there a way to do this?
Thanks
No, without user authorization you canĀ“t get ANY data of users who click on a link on Facebook. Check out the Facebook docs for information about authorization/login: https://developers.facebook.com/docs/facebook-login/v2.2
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