facebook-opengraph

Access-Control-Allow-Origin Error when trying to add open graph meta tags dynamically via Firebase functions

本秂侑毒 提交于 2019-12-25 04:01:17
问题 I'm trying to add open graph meta tags dynamically to my index.html using firebase functions. I'm following this tutorial but because I'd like to allow users to share on their facebook I need to add open graph meta tags on-demand when user wants to share content. So, it seems to me that running the function via rewrite in firebase.json is not best solution here and I'd like to call the function when user wants to share content to Facebook. I try to use CORS but it seems I get the "Access

Using Facebook Open Graph map aggregation for checkins

雨燕双飞 提交于 2019-12-25 01:40:01
问题 first of all this is the feature I'm trying to work out: https://developers.facebook.com/docs/opengraph/define-units/ (under the Layout Style heading) So I've got a cross-platform app which has a feature to allow people to checkin to Facebook Places locations through it. Right now, the actual location publishing works great, but I'm looking to get a little more exposure on peoples' timelines than what we have right now, which is a tiny box saying "Nabil Freeman checked into [location]" in

Facebook inline video sharing with Ruby on Rails

女生的网名这么多〃 提交于 2019-12-25 01:03:59
问题 I've been looking around for a bit but I can't seem to find any information on how to achieve what I want. Basically I have a page which displays a gif and offers the possibility to share it on facebook. I tried to make this work with the gif file directly but after a lot of trial and a lot of errors I gave up on this idea and instead, decided I might as well make it so the page would appear as a video on facebook since I already have a 15second long video generated from the gif for instagram

Facebook don't display correct thumbnail

时光毁灭记忆、已成空白 提交于 2019-12-24 23:09:05
问题 The problem is about the imageIi would to display when share content with social share button. If I set the correct meta og tag, when I click the button, the contains I would to share is incorrect, from the thumbnail to the text. This is the code I use in the website: condividi su facebook What I do not understand is why the same code works on some pages and not others. 来源: https://stackoverflow.com/questions/22345652/facebook-dont-display-correct-thumbnail

Upload a Cover (PHP)

我怕爱的太早我们不能终老 提交于 2019-12-24 20:14:24
问题 Anybody know how to upload a profile cover? Not a Album cover but a profile cover for the new timeline? Any help is much appreciated. 回答1: Maybe Facebook will roll out a specific API for that in the future, but so far the only way is to upload the photo via the photo API and then ask the user to choose it as his cover... To upload a photo use a HTTP POST to https://graph.facebook.com/ALBUM_ID/photos (as seen on http://developers.facebook.com/docs/reference/api/) 回答2: There's no API for this

Open Graph calls generating OAuth Exception

こ雲淡風輕ζ 提交于 2019-12-24 17:42:47
问题 I'm experiencing some problems getting an Open Graph implementation working. As far as I can tell, I have the correct meta tags present. When I paste an URL into the Open Graph Debugger, it returns with the proper information defined (title, description, image, etc), and no errors. I have version 3.1.1 of the Facebook PHP SDK. I have Open Graph enabled for my development app, and I have an action ( read ), and an object ( article ) defined. The implementation in question is a website, not a

Open Graph calls generating OAuth Exception

痴心易碎 提交于 2019-12-24 17:41:03
问题 I'm experiencing some problems getting an Open Graph implementation working. As far as I can tell, I have the correct meta tags present. When I paste an URL into the Open Graph Debugger, it returns with the proper information defined (title, description, image, etc), and no errors. I have version 3.1.1 of the Facebook PHP SDK. I have Open Graph enabled for my development app, and I have an action ( read ), and an object ( article ) defined. The implementation in question is a website, not a

og:url tag in the header is not the same URL as rel='canonical' link in the html

痴心易碎 提交于 2019-12-24 16:42:49
问题 This is the page: https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fmacondo.tw%2F%23%21%2Fbook%2F50fa1589425b0dc41a000002. I got the warning "og:url tag in the header is not the same URL as rel='canonical' link in the html". However, "See exactly what our scraper sees for your URL" showed that they are the same. 来源: https://stackoverflow.com/questions/15000549/ogurl-tag-in-the-header-is-not-the-same-url-as-rel-canonical-link-in-the-html

Facebook Marketing API some field are not shown

限于喜欢 提交于 2019-12-24 11:31:39
问题 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 value as the Ads was ad to promote "web site click". Is it a bug or a limitation of the development acces or I am doing something wrong? 回答1: It is true that not all fields are readable by all apps, however in the

Load comments from open graph object into Facebook comments social plugin

纵饮孤独 提交于 2019-12-24 11:26:09
问题 I have created a website connected my facebook app. Users can login and post a custom action connected to a custom object with open graph, javascript sdk. This will also post with 'fb:explicitly_shared' set to true so it will generate a post on the users timeline. So these custom objects have their own url and on those pages i want to have the comment plugin. And i want that object page (with the comments plugin) and the post on the users timeline to share comments. I have tried setting a lot