opengraph

Add 'Website' platform to facebook app

▼魔方 西西 提交于 2019-12-02 04:14:03
I am building an app on facebook, I was going through the 'Getting Started with Open Graph' page by Facebook Developers. The author asks us to 'Add Platform' by clicking at a button with the same name at the bottom of the page, but no such button exists. What should I do? Head to https://developers.facebook.com/apps Then select your app or create a new app in case you haven't Next you should get something like this (App dashboard): Now click on settings, here's the Add Platform button: click on the Add Platform button, then select the platform you're working on and config it 来源: https:/

Ensuring Facebook Opengraph posts look the same on mobile and desktop

↘锁芯ラ 提交于 2019-12-02 00:40:39
问题 I have an app that makes posts to facebook via a self-hosted object using open graph. On desktop, the post looks exactly as I want. Here is how it looks: And here is how it looks on mobile (incorrect, seemingly ignoring my sentence construction in the app admin console as well as my OG meta tags in my self-hosted object: I am trying to find a way to make my mobile posts look more like this one, which seems to have its open graph meta tags honored on mobile as well as desktop (mobile shown

Problems by uploading Photo to album by Facebook API - PHP

匆匆过客 提交于 2019-12-02 00:09:24
I have problems to upload a photo to an album by the facebook API . this is my code. $facebook->setFileUploadSupport(true); //Create an album $album_details = array( 'message'=> 'Message', 'name'=> 'Album Name' ); $create_album = $facebook->api('/me/albums?access_token='.$access_token, 'post', $album_details); //Get album ID of the album you've just created $album_id = $create_album['id']; echo $album_id." - "; //Upload a photo to album of ID... $photo_details = array(); $img = "app.jpg"; $photo_details['source'] = '@' . $img; $photo_details['message'] = 'Wow.. cool image!'; $upload_photo =

Wrong image displayed by LinkedIn Open Graph

走远了吗. 提交于 2019-12-01 23:53:07
I'm trying to share http://gbgtechweek.com/ on my LinkedIn profile. I have this meta tag: <meta property="og:image" content="http://gbgtechweek.com/img/gbgtechweek_img.png" /> However, LinkedIn chooses to show another image from the page ( http://gbgtechweek.com/img/goteborg00.jpg ) Is this because of the size, and how do I fix it? I tried to update by using "?!" in the end, so LinkedIn would re-fetch the Open Graph data, but didn't work. Any solutions? LinkedIn (shockingly and sadly!) only use official partners from http://embed.ly/providers for 'projects' on your profile. Open Graph only

Ensuring Facebook Opengraph posts look the same on mobile and desktop

好久不见. 提交于 2019-12-01 21:39:13
I have an app that makes posts to facebook via a self-hosted object using open graph. On desktop, the post looks exactly as I want. Here is how it looks: And here is how it looks on mobile (incorrect, seemingly ignoring my sentence construction in the app admin console as well as my OG meta tags in my self-hosted object: I am trying to find a way to make my mobile posts look more like this one, which seems to have its open graph meta tags honored on mobile as well as desktop (mobile shown here): Can anyone let me know if I am making a crucial mistake? I can also share the meta tags in the self

How to update Linkedin Open Graph Image? [closed]

不想你离开。 提交于 2019-12-01 08:42:32
I need to update the Open Graph Image for linkedin when being shared. I changed it on Facebook and Plus but not on Linkedin. Is there any workaround on this? I've tried adding a new link via this site with no luck http://beta.beantin.se/clearing-linkedin-link-sharing-preview-cache/ LinkedIn's content cache presently stores website information for approximately 7 days before the crawler will revisit the site. We are in the process of creating more self-service tools for the developer community, but until those tools are completed, you will need to wait for the cache period to expire, which will

Open Graph Protocol - how to make it work with multiple stories on a page?

旧时模样 提交于 2019-12-01 02:27:13
问题 The Open Graph Protocol is a new methodology for storing metadata to make it easier for third party sites (think the Facebook LIKE button) to identify relevant content on your page. It looks like this: <title>The Rock (1996)</title> <meta property="og:title" content="The Rock" /> <meta property="og:type" content="movie" /> <meta property="og:url" content="http://www.imdb.com/title/tt0117500/" /> <meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" /> The question is,

Can I get a list of the people that have Facebook-liked my page?

两盒软妹~` 提交于 2019-12-01 01:41:09
I want to get a list of the UID of the people that has liked one Open Graph object (I am the admin of that object). This is to gather advanced analytics, for example, "how many people that like A like also B" According to the docs you can do an FQL query such as: SELECT user_id FROM like WHERE object_id="122706168308" 来源: https://stackoverflow.com/questions/5546844/can-i-get-a-list-of-the-people-that-have-facebook-liked-my-page

How to Publish a status with multiple photos by Facebook API?

大憨熊 提交于 2019-11-30 23:40:40
I have a problem with Facebook Graph API. Is there any way to "attach multiple photos within a status post" using the Graph API (Javascript SDK)? With the iOS Facebook app can post a status with multiple photos. However, after looking through the documentation on internet I couldn't find out how it works. Does anyone have idea? This a status screenshot that I would like to generate with the Facebook API. This could be a solution: Create a post with just a message, get its ID Upload all your photos with { "published" : "false" } , get their IDs Update each photo with { "target_post" : "

How can I retrieve og/meta attributes of a resource?

大城市里の小女人 提交于 2019-11-30 19:12:36
I'm making an application that retrieve tweets on Twitter of a user. Those feeds contains links to external resources, such as Artciles, Webpage or YouTube video. I get trought the Twitter API the JSON of these feeds, but there arent included the og: attributes of the content. And I'd like to catch them and show to my website. Such as this question of StackOverflow: <meta name="og:type" content="website" /> <meta name="og:image" content="http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png?v=fde65a5a78c6"/> <meta name="og:title" content="How can I check classes that ends with?" />