facebook-opengraph

og meta tags, social buttons and angularjs

天涯浪子 提交于 2019-11-26 17:40:57
问题 I'm creating a website using multiple views. The tag and the tags of the page get changed through a a $rootScope variable. so I have something like <html> <head> <title ng-bind="page_title"></title> <meta property="og:title" content="{{page_title}}"> </head> Whenever each view get loaded on the website, the page_title variable changes and the title and the og:title tags get updated (everything works as expected). The problem is that I need, on some views to load a facebook, a google+ and a

FB OpenGraph og:image not pulling images (possibly https?)

a 夏天 提交于 2019-11-26 16:57:38
First -- I do not believe this is a duplicate issue. I've searched for same or similar problems on SO extensively, and due to the nature of troubleshooting before asking, I believe this problem is unique. Facebook cannot grasp my og:image files and I have tried every usual solution. I'm beginning to think it might have something to do with https://... I have checked http://developers.facebook.com/tools/debug and have zero warnings or errors. It is finding the images we linked to in the " og:image ", but they're showing up blank. When we click the image(s), however, they DO exist and it takes

IOS Facebook SDK - Post Open Graph and show on Timeline without clicking Activity Log

落花浮王杯 提交于 2019-11-26 16:48:57
问题 From the Facebook SDK sample code, when successfully post the open graph object to timeline, you have to click Show on Timeline in the Activity Log on Facebook website. How to ignore these steps and explicit share your OG to timeline? ---------------------------------------- The Answer Below: ---------------------------------------- Just add one more code to your FBOpenGraphAction Object: id<FBOpenGraphAction> action = (id<FBOpenGraphAction>) [FBGraphObject graphObject]; [action setObject: @

What is the minimum width and height Of Facebook Open Graph Images?

好久不见. 提交于 2019-11-26 16:03:56
问题 I had read that images associated with a given URL in the Facebook open graph had to be greater than 50 x 50 However, when we ran the Facebook Object debugger - we got the following warning: "Tiny og:image: All the images referenced by og:image must be at least 200px in both dimensions. Please check all the images with tag og:image in the given url and ensure that it meets the minimum specification." Our URL is http://www.famousbirthdays.com/people/charlie-chaplin.html and the image does show

Allowing multiple domains for 1 Facebook App (like Tumblr)

这一生的挚爱 提交于 2019-11-26 16:00:10
问题 I am trying to get my website validated with the Facebook object debugger and I'm running into the following error: Object at URL 'http://www.example.com/latest' of type 'smallteaser:teaser' is invalid because the domain 'www.example.com' is not allowed for the specified application id '597566643589666'. This error makes perfect sense since I haven't allowed the example.com domain specific access to the Facebook app. But do I really have to? What I would like to achieve is similar to how

Why does Facebook Graph API say my account is non-active?

北城以北 提交于 2019-11-26 15:49:44
问题 We have some code that uses Facebook Open Graph API to display some posts on our home page. It was originally developed by a previous developer and I rewrote it in ASP.NET MVC for our home page (where before it was PHP which I believe was loaded in an iframe). At that time, I used the app ID and secret that were left to me. This has functioned fine for a couple of years. This afternoon, we started getting an error back on our site: "Access to this data is temporarily disabled for non-active

Angular 4 - Update Meta tags dynamically for Facebook (Open graph)

拥有回忆 提交于 2019-11-26 13:49:59
How do we add/update meta tags dynamically so that they get picked by Facebook/Whatsapp share dialog? I upgraded my angular 2 application to angular 4 in order to use Meta service to add/update meta tags dynamically once we get the data in component from API. So far in my component, I have this.metaService.updateTag({ property: 'og:title', content: pageTitle }); this.metaService.updateTag({ property: 'og:url', 'www.domain.com/page' }); this.metaService.updateTag({ property: 'og:image', content: coverUrl, itemprop: 'image' }); this.metaService.updateTag({ property: 'og:image:url', content:

How to use the &#39;og&#39; (Open Graph) meta tag for Facebook share

房东的猫 提交于 2019-11-26 08:39:27
问题 Facebook fetches all pictures from my site. I want to share only one picture which is on that page. I heard about the og meta tag, but I don\'t know how to put it. 回答1: Use: <!-- For Google --> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta name="author" content="" /> <meta name="copyright" content="" /> <meta name="application-name" content="" /> <!-- For Facebook --> <meta property="og:title" content="" /> <meta property="og:type" content="article" /> <meta

How to post on a friend&#39;s Timeline after the February 2013 migration takes effect?

爱⌒轻易说出口 提交于 2019-11-26 08:34:20
问题 Since Facebook is removing the ability to post to friends\' wall via Graph API from February 6, 2013 onward, I want to know if there are some alternates to post to the friend\'s Wall. Till now, I was using Feed API for this- using to parameter but it throws the exception: (#200) Feed story publishing to other users is disabled for this application The possible solution that I found was: OG: Mention Tagging . But is there a way to accomplish this other than by using OpenGraph? Please help. 回答1

Generating Facebook Open Graph meta tags dynamically

蹲街弑〆低调 提交于 2019-11-26 05:58:12
问题 As the title implies I\'m trying to generate Facebook Open Graph meta tags dynamically, but I can\'t get it working. Is it even possible? UPDATE: Finally I got it working with the help of @saccharine. The following code is working for me: <?php $params = array(); if(count($_GET) > 0) { $params = $_GET; } else { $params = $_POST; } // defaults if($params[\'type\'] == \"\") $params[\'type\'] = \"restaurant\"; if($params[\'locale\'] == \"\") $params[\'locale\'] = \"en_US\"; if($params[\'title\']