facebook-opengraph

Facebook Share Dialog failing to recognize custom reference objects when posting custom Open Graph story

橙三吉。 提交于 2019-12-04 14:16:26
So I have a Facebook webpage app, and I'm trying to use the Facebook Javascript SDK and the FB.ui function to post a custom Open Graph story on a user's wall. I have a custom action 'Ride' and custom object 'Distance'. I am trying to post a custom story 'Ride a Distance'. My function below is triggered on the click of a button: function postDistanceRidden() { FB.ui({ method: 'share_open_graph', action_type: 'APP_NAME:ride', action_properties: JSON.stringify({ distance:{ "og:type" : "APP_NAME:distance", "app_id" : "APP_ID", "og:url" : 'PUBLIC_URL', "og:title" : "My Title", "og:image" : "PUBLIC

Facebook Open Graph : Associate Website with Facebook Page

末鹿安然 提交于 2019-12-04 13:56:36
I want to make relationship between my Facebook Page & my website. I have already set up both of them, adding the OG tags to the website. However, it seems there is no connection between the Facebook Page & my website. The fb:admin tag is set to my Facebook user ID, but I want to associate with my Facebook Page instead. Is it possible ? Is there any Open Graph tags I missed out ? No this is not possible. As seen in the Developer Roadmap provided by Facebook: "May 2, 2012 - We will remove the ability to claim domains with a Page ID. The recommended option for claiming domains is with an App ID

Post an object of type Reference

笑着哭i 提交于 2019-12-04 13:00:33
I have had this problem for some time now and I have seen others have it as well. It has to deal with posting your custom objects that you create in Open Graph to post with your application. I am having this problem primarily on all platforms, but right now let's say I am using Android. If someone has accomplished this in C# or on IOS or even in PHP please post your answer. An Example: I have an object that posts a meal to Facebook. Let's say its properties are the following. mealName = "Lunch" mealType = "Vegetarian" mealLocation = "Somewheresville, OH" Now I have another object in my Open

Placing Facebook Metatags in Rails Application

你。 提交于 2019-12-04 12:51:50
I have implemented Omniauth and Koala7 gems to integrate my application with Facebook. Everything works well, except one minor problem with posting custom actions with custom objects. The problem is that my object url should be the show page of a newly created post, such as /posts/1. To make this page recognized as a facebook object, I need to put facebook metatags on top of the show.html.erb like this: <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# sdff: http://ogp.me/ns/fb/sdff#"> <meta property="fb:app_id" content="myid" /> <meta property="og:type" content="sdff:post" /> <meta

Why won't Facebook sharer.php provide a selection of images when multiple og:images have been scraped?

筅森魡賤 提交于 2019-12-04 09:46:49
So here is a page with multiple og:image elements : <meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/tiger-woods-elin-nordegren-1200x800.jpg"> <meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/Sandy_Lane-1200x797.jpg"> However, when I click the sharer.php link on the page, Facebook only offers the 1st image . I was under the impression that it should present 2 image options. I have re-scraped the URL many times and the Facebook Open Graph UI even hints that 2 images should

Have a posted song URL be an embedded music player with Facebook?

 ̄綄美尐妖づ 提交于 2019-12-04 09:40:51
We would like our members to be able to share songs from our website and be able to listen to them inline a Facebook post. SoundCloud is able to do this as seen in their posts on their page here . Are they doing this through being a whitelisted member and using Open Graph Music ? If not, what would be the best way to accomplish that same player functionality? It appears as though the player is not initiated within the Facebook post until the link is clicked on. You're correct in that it's only for whitelisted members according to their documentation here: https://developers.facebook.com/docs

Facebook Open Graph not showing on timeline

穿精又带淫゛_ 提交于 2019-12-04 09:16:57
I'm using FB Open Graph in my application. It's not fully working. When I post a object it appears in the user's recent activity; however, it doesn't appear on their timeline. The metadata has no errors and I'm using the FBGraph gem but it also doesn't work when I do it using curl. Any advise to fix this? Suresh Have you tried to use 'fb:explicitly_shared=true' in your URL. Refer: https://developers.facebook.com/docs/technical-guides/opengraph/explicit-sharing/ When you are in development mode, and your actions have not yet been approved by Facebook, the posted actions are only visible to you

Embedding html5 video with opengraph on facebook

牧云@^-^@ 提交于 2019-12-04 07:58:23
I have built a web site for our student tv station and the concept is pretty similar to youtube. We would like for our videos to be playable directly in facebook when shared, with the videos themselves still hosted on our server and our stats being updated. The player on the site uses videojs and is all working with the html5 video tag. There is also an embeddable version of the player that can run in an iframe. Ideally I'd like this to be used on facebook but don't think it's possible. This is what I've attempted at the moment with the og:video:type value set to text/html and og:video set to

How Facebook parses blogspot.com open graph properties

◇◆丶佛笑我妖孽 提交于 2019-12-04 05:05:43
问题 Some pages of blogspot.com do not contain open graph tags, but Facebook Object Debugger still parse the open graph properties correctly. How does it get the open graph information? For example, I don't see any open graph meta tag in http://sushiwens.blogspot.com/ source code. But it is correctly parsed by facebook https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsushiwens.blogspot.com%2F I need to implement something like the open graph parsing function in python, so I

Facebook Like button sometimes appears sometimes not

 ̄綄美尐妖づ 提交于 2019-12-04 04:33:57
问题 I have strange issue with like buttons on my site. When I enter a page it shows up correctly, than after refresh it doesn't appears and I have javascript error FB.provide is not a function [Break on this error] FB.provide('Array',{indexOf:function(a...|c.hasOwnProperty(d))a(c[d],d,c);}}); Initialization and asynchronous including of js looks like this <body> <div id="fb-root"></div> <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({appId: