FAQ Database Discussion Community


graph api get public events with rails/koala works only for some sites

ruby-on-rails,facebook,facebook-graph-api,facebook-opengraph,koala-gem
This is my code Koala.config.api_version = 'v2.3' @oauth = Koala::Facebook::OAuth.new 'app_id', 'app_secret' @graph = Koala::Facebook::API.new @oauth.get_app_access_token @events = @graph.get_object('141991029192409/events') which works fine. If I try to fetch the events from another site like @events = @graph.get_object('161335993890217/events') I get this error GraphMethodException, code: 100, message: Unsupported get request. Please read the...

Facebook finds thumbnail but doesn't use it in snippet

facebook-opengraph,meta-tags
When checking some of our articles on the FB Debugger, it correctly gets the image to use, along with all other tags but does not put the image in the snippet. Eg; on the debugger put this url in;http://www.nova969.com.au/entertainment/katy-perry-getting-slammed-her-latest-costume It shows the following; It does this on all our links....

How do I get Facebook debugger to reference the correct og:image?

facebook,facebook-opengraph,opengraph
When I use the Facebook debugger to view my website top page, under the "Warnings That Should Be Fixed" section, I get a few different errors. However, if I press the "Fetch new scrape information" button one time, then on the next round only one error remains. The error I...

Get Facebook taggable friends not using the app

facebook,facebook-graph-api,facebook-opengraph,opengraph
I need to show the list of the user friends. First, I check the friends who are using the app, and then the friends who are not (My app treat them in a different way). Since the new API change, the only option is Taggable friends, but I need to...

Facebook iOS SDK 4.2.0 - Error when sharing self-hosted Open Graph story

ios,facebook,facebook-opengraph,facebook-ios-sdk
I've been struggling with this for the last couple of days and can't seem to find a solution. Here is the problem: I am trying to publish Open Graph story from my iOS app and let Facebook scrape the provided url for additional Open Graph tags. This worked well in...

Insert og:image in wordpress

wordpress,facebook,facebook-opengraph,opengraph,meta-tags
I have the following hook for facebook's og:image tag. In my template file: <?php do_action('wp_head', $mypost) ?> In my functions file: add_action('wp_head', 'add_fb_og'); function add_fb_og($mypost) { if (isset($mypost["wpcf-bgleft"][0])) { echo '<meta property="og:image" content="'.$mypost["wpcf-bgleft"][0].'" />'; } } What I'm trying to do is to pass the background image of a custom...

Facebook Open Graph Story Custom Actions Keep Getting Rejected - Advice Please?

facebook,facebook-graph-api,facebook-javascript-sdk,facebook-opengraph
Right, I know this is a question that has been asked over and over and over, but I have been researching, and reading Open Graph docs, and I am at a loss now. This is the 3rd time my app has been rejected, sigh. Here's the low down: We have...

Unable to change facebook thumbnail image for magento site

facebook-opengraph,magento-1.9
I have added the following code to a magento site to update the FB thumbnail image. 1column.phtml <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> head.phtml <meta property ="og:image" content="www.rekinza.com/images/rekinza-fb_logo.jpg"/> However, Facebook still picks up a random image from the homepage when I put the link...

share on facebook: to use a different url in the open graph tags

html,facebook,facebook-opengraph,opengraph
I have a superheroes quiz game at this address: mysite/index.html, the quiz has 2 possible results mysite/result1.html and mysite/result2.html. Each result page has the open graph tags as: <meta property="og:type" content="website" /> <meta property="og:title" content="Great you are Superman" /> <meta property="og:description" content="Description of Superman" /> <meta property="og:url" content="mysite/result1.html" /> <meta...

Facebook open graph- share a poem instead of an article

facebook,web,share,facebook-opengraph,opengraph
My website shares poems, stories and articles. This is an example of an open graph of a poem. { "id": "905716739487689", "application": { "id": "728278247279506", "name": "mypen", "url": "https://he.mypen.net/" }, "created_time": "2015-04-08T10:48:04+0000", "description": "My complexity, my life is yours. You have me in the morning as i get out of...

Inserting action properties into custom story attachment

facebook,facebook-opengraph,opengraph
The documentation doesn't describe how to insert action properties into an attachment, using this dialog: For example, if I share a story with these properties: FB.ui({ method: 'share_open_graph', action_type: 'appnamespace:Adore', action_properties: JSON.stringify( { person: 'http://stackoverflow.com/users/1920325/eye-mew', reason: 'He has a flawless jawline' }) }, function(response){} }); How would I expose the...

Android: OpenGraph Stories sharing in Facebook with SDK 4.0

android,facebook-graph-api,facebook-opengraph,facebook-android-sdk,facebook-share
I am trying to implement achievements for sharing to facebook when the player unlocks a badge. Have made an object using the object browser in facebook developer console. I made Action-types and object-types and made a custom story. Now i am stuck trying to share the story to facebook. The...

My facebook app is not showing in timeline manage section

facebook,facebook-opengraph
I've created a simple facebook app for managing books I read, and I want this app to be visible in facebook timeline manage section. For instance I can see other apps in my timeline section like GoodReads and others. How it can be achieved?

How do I fix facebook circular redirect?

php,facebook,facebook-opengraph
I did 4 landing pages on a website http://www.getyogi.fr/ and a php script randomize the differents landing pages. But my problem is to fix the open graph facebook. He returns: Could Not Follow Redirect Path - Using data from http://www.getyogi.fr/lp1/ because there was an error following the redirect path. Here...

Facebook share_open_graph error: “Invalid Action Link URL: The post's action links must be valid URLs.”

javascript,facebook,facebook-graph-api,facebook-opengraph
I have a site where I am trying to set up a Facebook Share button for a custom object. The custom object is created successfully. I can verify object creation in the Object Browser with owner as the custom app and type as the custom object type. The call to...

Wrong OG image when sharing to Facebook despite FB Debugger displaying correctly

image,facebook-opengraph,opengraph
I just added an OpenGraph image to a site I'm working on and using the FB Debugger the info retrieves the correct image, however when sharing the url I still see default images being displayed (there was no specified OG image before). Is there something I'm missing here? The site...

Facebook Marketing API some field are not shown

facebook,facebook-opengraph,facebook-ads-api
I have a development level access to Marketing API and it looks like I cannot read some fields of specific objects. For example I try the following call: You can see that promoted_object, link_url and object_url are not displayed in the result. And I should have one of those three...

For how long open graph link should be accessible?

facebook,facebook-opengraph,opengraph
We're sharing data on facebook using open graph meta tags. After initial crawl for how long link with the document should stay valid? Is it just stored in open graph and if the content do not change I don't need to care about it anymore? I couldn't find information about...

Pass image, summary, URL to Facebook share button in ASP.NET MVC

asp.net,asp.net-mvc,facebook,facebook-opengraph
I'm trying to put Facebook "Share" buttons on various elements on a one-page Bootstrap ASP.NET MVC page. When each button is clicked, it would display a different image, summary, and URL for that element on the page. The URL will send the user to a specific tag on the page,...

Facebook app review using simulator build and OpenGraph custom stories

facebook,facebook-graph-api,facebook-opengraph,facebook-ios-sdk
I've configured a custom story for my iOS app using the Facebook SDK. The problem is now I need to go through revision to get the verbs and objects approved, and the app is not yet in the App store. I can of course upload a simulator build, but as...

How do I add 'Like Page' button to my URL timeline post

facebook,facebook-opengraph
I have used opengraph to share my website to facebook. Is there any way I can add a 'Like Page' button to it, so that my associated FB business page gets liked instead of the shared post? ...

Automatic Opengraph Image

html,facebook,facebook-opengraph,opengraph
When sharing a page on Facebook or other social network: If <meta property="og:image" content="http://url.to/image.jpg" /> is present, it is used to generate a thumbnail. That's ok. If <meta property="og:image"> is not present but there is an image on the page, the first image present on the HTML page is used...