facebook-opengraph

Open graph meta tags

不想你离开。 提交于 2019-12-04 03:54:00
问题 I use Facebook application (shortstack) to make my page. I want to Personalize publication when I share it with short URL. I have test to create a open graph meta tags but it's don't work . 回答1: You need to put opengraph meta tags in your page like <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/rock.jpg"/> <meta

Is it possible to use the Scores & Achievements API from Facebook solely from a native mobile application?

 ̄綄美尐妖づ 提交于 2019-12-04 03:04:06
I'm toying around with the Facebook APIs for a game I'm developing as a hobby project, after reading through the facebook SDK documentation, I'm still a little unclear as to what is required for developing games on the platform. This is what I have : Native iOS application All game data is stored locally (levels, characters, items) I don't have any backend servers, the game is completely client side only. I want to make the game "social" by adding achievements/friends lists, the facebook API seems like a good candidate for doing so This is what I'm trying to achieve : SSO - Hoping to make use

Get Users App-Scoped user id in Facebook Graph API

此生再无相见时 提交于 2019-12-03 17:58:06
问题 In advent of the new V2 Facebook Open Graph API, I need to make note of the logged in users 'App-Scoped' user ID, in order to register the id with Parse in order to receive PUSH notifications. However, as the logged in user I get the Facebook ID instead. Haven't found anything in the docs to solve this problem yet, so thought I better ask here. 回答1: If you created your facebook application before the introduction of graph API 2.0, It will continue to receive the canonical facebook user ID If

How to implement iOS app link Facebook functionality in swift 3?

你说的曾经没有我的故事 提交于 2019-12-03 17:55:16
问题 I have tried many ways to achieve this but failed. I have to share info on facebook with a URL and when clicked on the url, it will redirect to my app's specific page. step# 1 let content: FBSDKShareLinkContent = FBSDKShareLinkContent() content.contentURL = NSURL(string: linkUrl) as URL! content.contentTitle = "Test" content.quote = "game" content.contentDescription = "This is a test game to test Fb share functionality" content.imageURL = NSURL(string: imgUrl) as URL! let dialog:

Facebook doesn't accept custom Open Graph properties

我的梦境 提交于 2019-12-03 15:42:23
I'm trying to use Facebook iOS SDK 3.5 for publishing an Open Graph action. My action is: take a photo , and photo has an additional required string property named filter . I am creating my graph object (all values are valid and working): NSMutableDictionary<FBOpenGraphObject> *object = [FBGraphObject openGraphObjectForPostWithType:@"tonerapp:photo" title:@"photo" image:imageData url:nil description:title]; Then I add my filter: object[@"tonerapp:filter"] = filterName; I try to post the object, and I can confirm that my filter property is there (enabled FBSetting logging behavior for URL

Facebook Open Graph warning on multiple fb:admins

陌路散爱 提交于 2019-12-03 15:18:25
问题 I'm getting a Facebook Open Graph debugger warning when I put two admins in the fb:admins meta value. With a single admin, it passes fine, but with two I get a warning. Everything works fine, but my OCD wants to get it right. Any help? Here's my code: <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#"> <meta property="fb:app_id" content="122146944552301"/> <meta property="fb:admins" content="15901643,15932442"/> <meta property="og:type" content=

Extend Facebook Open Graph Token For Posting to Pages

我只是一个虾纸丫 提交于 2019-12-03 14:14:56
问题 I'm using this tutorial (from the first answer on that page). In short it uses a FB app, and PHP CURL GET to post to your Facebook page via HTTP. I have it working and can post to my page (as my page) with the correct token. However, the page access token only lasts an hour, meaning you have to constantly re-authorize by generating a new token. How can I set-and-forget, or otherwise extend my token? I have read the facebook documentation but can't apply it to my scenario. I just want to

Defining how an Open Graph Post is displayed

孤街浪徒 提交于 2019-12-03 12:37:42
I'm posting a custom Open Graph object/action to Facebook successfully. Our production and staging environments each have their own FB app, which are configured identically (except that in our production app, objects and actions are approved, as is our App Details page). For some reason though, staging is posting with a larger photo with title/description underneath. Production posts have a smaller image with all text to the right. I don't remember doing anything special on staging, but in the end, we want posts from production to look like they do on staging. Any idea which setting I need to

Provided og:image is not big enough in Facebook linter

我的梦境 提交于 2019-12-03 10:52:29
I properly set og:image on my website, the facebook linter sees it (facebook debugger) however, it says the image should be at least 200x200, which it is not the case, my image is 250x250 image . What could be causing the issue? Could this have anything to do with Cloudfront? Edit: I got around it by switching from this image to another image which is a jpg image, but still I couldn't find the cause for the problem since the image looks fine. This was happening to me. I was only using the meta og:image tag. I added the following in the head <link rel="image_src" type="image/jpeg" href="img

OG:type article vs website for Individual Web Pages That Are Not Articles

允我心安 提交于 2019-12-03 10:45:06
问题 I'm seeking clarification regarding the use of og:type article vs website for an individual web page that is technically not an "article" but also does not represent an entire website. Documentation seems contradictory: From https://developers.facebook.com/docs/opengraphprotocol/#types Use article for any URL that represents transient content - such as a news article, blog post, photo, video, etc. Do not use website for this purpose. website and blog are designed to represent an entire site,