opengraph

set user (access token) within FB.init

筅森魡賤 提交于 2019-12-05 07:51:32
i want to publish story to user timeline even when they were not login with facebook. Actually I stored user access token in the database, if the user login in with email, i'll retrieve the access token for her. It works well in php (e.g get friends list after setAccessToken(token_from_database), but when i post the story, it always post to current fb login account's timeline. I think the problem is caused by fb.init: window.fbAsyncInit = function() { FB.init({ appId : 'XXX', // App ID status : true, // check login status cookie : true // enable cookies to allow the server to access the

Get music listens using FQL [closed]

本小妞迷上赌 提交于 2019-12-05 04:22:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . I am trying to get music.listens for a user and a user's friends using FQL. Does anyone know what is the FQL query for getting music.listens? Thanks! 回答1: You cannot currently query for Open Graph actions using FQL You need to use the Graph API. You'll need the user_actions.music and/or friends_actions.music

Facebook doesn't accept custom Open Graph properties

泪湿孤枕 提交于 2019-12-05 00:02:56
问题 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

How to change open graph meta tags to share custom content on social media?

家住魔仙堡 提交于 2019-12-04 20:48:04
I want to add some social media share buttons on my website. Using Open Graph meta tags would work for pages that represent one material (for instance a post on my website). But the problem is, I have a gallery page which contains multiple pictures, and I want to add share buttons for each picture. If I use Javascript to change the meta tags according to which picture the user wants to share, would--for instance--Facebook's Crawler catch the newly generated tags or the original tags when the page is loaded? I don't want to use PHP to generate the meta tags because everything in the gallery is

Tumblr ignores open graph tags

假如想象 提交于 2019-12-04 19:38:20
I have some social sharing buttons on a site. I've been able to use the open graph tags to specify exactly what I want shared. They work with every major social network except Tumblr. Does anyone know why or what I should be doing instead? Thanks! Even though this is an older post, I came across it and figured I'd post a reply for future folks. I hope the OP found a more timely answer. It depends how your open graph tags set up - on your index page? Or on your permalink pages? Facebook does not allow you to pass it parameters, it can only grab what is on the page. So on the index page it can

How to construct a Facebook post URL from the post id? [duplicate]

余生长醉 提交于 2019-12-04 19:15:54
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: How to construct a permalink for objects returned by Facebook's new Graph API? The Facebook open graph API allows a public search, e.g. https://graph.facebook.com/search?q=watermelon The results returned may be statuses, videos, links, photos (and others?). Each has a post id, e.g. 100000973592583_149321401769498 I wish to construct a URL to the post. For statuses, this seems to work: http://www.facebook.com

Defining how an Open Graph Post is displayed

▼魔方 西西 提交于 2019-12-04 19:07:53
问题 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

OpenGraph meta for facebook, linkedin and twitter

…衆ロ難τιáo~ 提交于 2019-12-04 18:56:30
I'm trying to make sure that when my website is shared the correct meta information is displayed. I thought I had it working but I'm experiencing a few issues on different social websites, as follows: Twitter pulls in the text but doesn't display the specified image. LinkedIn displays text but seems to use the wrong image so it's stretched. Facebook doesn't display anything. If I post the URL, that's all that's displayed as a hyperlink. Originally I just had the meta name="twitter: stuff but have since added the meta property="og: above it as I was told that was needed for LinkedIn. This is

Facebook Open Graph locale for Australia

南楼画角 提交于 2019-12-04 16:45:27
问题 I am trying to add the og:locale tag for an Australian website and Facebook's linter tells me that I have an error. Based on the documentation (and assuming what the correct content should be), I have added this to my page head: <meta property="og:locale" content="en_AU" /> Facebook's linter ( http://developers.facebook.com/tools/debug ) tells me: Object Invalid Value Object at URL 'http://foo' of type 'website' is invalid because the given value 'en_au' for property 'og:locale:locale' could

Linkedin Open Graph Sharing not working

我怕爱的太早我们不能终老 提交于 2019-12-04 16:28:51
I have a page setup for Open Graph Protocol because our app is built upon Angular 1.x now when we share a URL using LinkedIn. Share Popup opens but it does not crawl open graph tags sometimes and sometimes it shows the proper crawl tags it was working fine till last week. here is the image which shows the preview area: Scenario for sharing a link: User comes on our site: www.example.com/event/[EVENT_ID] and clicks share to LinkedIn. Popups opens using: https://www.linkedin.com/shareArticle?mini=true&url=https://example.com/event/0u83s43rf6r/4295028179 where 4295028179 is event id and