facebook-opengraph

og:image ignored when sharing link, although accepted in linter

这一生的挚爱 提交于 2019-12-02 11:04:58
I want to share a link to my own website on Facebook, so I added the necessary og: tags to the <head> section. Checked it in the linter, and it displays everything I want it to display. When I actually want to share it in the newsfeed (as in copy and paste the link into the status formular), the image is ignored. Here's a sample link: http://iamschulz.de/video/4 Does it break the image size requirements? If so it'll still be detected by the debug tool, but won't actually be rendered in the news feed Images must be at least 50 pixels by 50 pixels. Square images work best, but you are allowed to

Android Facebook Open Graph?

荒凉一梦 提交于 2019-12-02 10:39:43
问题 I am curious if I can get some help with Open Graph since I can't seem to make any sense out of the Facebook API that I have read. Right now I have setup my Open Graph Application on Facebook. It has been approved. I am trying to submit my "objects" via the bundle params but I am curious how I setup a bundle param object like the following. Where myObject has multiple values associated with it. Bundle params = new Bundle(); param.putString("myObject", ""); // My object has multiple values I

facebook og:image does not fetch image from php file that echoes the URL

不羁的心 提交于 2019-12-02 10:28:34
facebook OG fetch image from echoed URL, is this possible? since I included a php file that will echo the image URL but when I check in Sharing debugger the content is empty <meta property="og:image" content="" /> my meta tag : <meta property="og:image" content ="<?php include "meta_gambar.php"?>"> and the php file : <?php $module=$_GET['module']; $id=$_GET['id']; if($module=='detailproduk'){ //prepare query $stmt=mysqli_prepare($con,"SELECT gambar FROM produk WHERE id_produk=?"); if($stmt===false){ die("Prepare error" . htmlspecialchars($mysqli->error)); } //Bind parameters $bp=mysqli_stmt

Use Facebook API with Objective C to find random Facebook user image

最后都变了- 提交于 2019-12-02 09:09:18
I am building an app that returns a random Facebook profile picture. So far I have the code below generating a random profile ID which sometimes does return a real profile but sometimes doesnt and just shows the generic blue Facebook face. When I use the given number on the actual website graph API it just returns false. My question is how would I put the code in so that if the random number generated returns a false profile, it just keeps generating a new random number until a real profile is returned, thus a real picture? Thanks in advance @implementation FacebookPicturesViewController -

Get/Set audience for Open Graph Post

女生的网名这么多〃 提交于 2019-12-02 08:20:38
问题 Is it possible to get OR set the audience (FRIENDS, ONLY ME, PUBLIC) of an Open Graph Story post? According to developers.facebook there should be a field for the privacy setting. My application does have the publish-permission:"publish_actions" and the read-permissions: "public_profile", "email", "user_posts". When i make the following request (iOS): FBSDKGraphRequest(graphPath: "postid", parameters: nil, HTTPMethod: "GET") i get this response: { data = { location = { id = 00000000000; title

Android Facebook-sdf Exception: Failed to generate preview for user

自闭症网瘾萝莉.ら 提交于 2019-12-02 08:18:42
i'm developing a simple android app and i want post a status in facebook using OpenGraphObject and OpenGraphAction. if i use new FacebookDialog.ShareDialogBuilder(this) i have no problem, but when i'm using FacebookDialog.OpenGraphActionDialogBuilder i got the error: 01-09 15:56:29.594 11439-11439/simov.project2.yourcity E/Activity﹕ Error: com.facebook.FacebookException: Failed to generate preview for user. java public void test(int position){ File f = (File)mImageAdapter.getItem(position); Bitmap myBitmap= BitmapFactory.decodeFile(f.getAbsolutePath()); List<Bitmap> images = new ArrayList

Android Facebook Open Graph?

流过昼夜 提交于 2019-12-02 07:19:33
I am curious if I can get some help with Open Graph since I can't seem to make any sense out of the Facebook API that I have read. Right now I have setup my Open Graph Application on Facebook. It has been approved. I am trying to submit my "objects" via the bundle params but I am curious how I setup a bundle param object like the following. Where myObject has multiple values associated with it. Bundle params = new Bundle(); param.putString("myObject", ""); // My object has multiple values I guess I really need to figure out how you submit something in the Bundle that has multiple properties

How Facebook parses blogspot.com open graph properties

老子叫甜甜 提交于 2019-12-02 04:35:23
Some pages of blogspot.com do not contain open graph tags, but Facebook Object Debugger still parse the open graph properties correctly. How does it get the open graph information? For example, I don't see any open graph meta tag in http://sushiwens.blogspot.com/ source code. But it is correctly parsed by facebook https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fsushiwens.blogspot.com%2F I need to implement something like the open graph parsing function in python, so I need to know how to do it. 来源: https://stackoverflow.com/questions/12763389/how-facebook-parses-blogspot

Javascript Facebook share dialog with open graph “og:url” not working

不羁岁月 提交于 2019-12-02 04:09:17
I am currently using the javascript Facebook share dialog API version 3.2 as follows: FB.ui( { method: "share_open_graph", action_type: "og.likes", action_properties: { object: { "og:title": "Test Title", "og:description": "Test description here", "og:image": "https://url-to-image-here", "og:url": "https://google.com" } } }, (fbResponse: any) => { // handle response here. } ); When i include the og:url with a non-empty value, I keep getting the following response when the dialog loads regardless of the url I use: Facebook response with og:url defined If I do not define the og:url or assign it

ios facebook sdk v3.11 share dialog post button disabled

妖精的绣舞 提交于 2019-12-02 01:52:48
I was following the tutorial for facebook sdk for ios, specially using open graph to attach an image and tag friends (which social framework can't do directly). So I was following this tutorial and this sample app, FBOGSampleSD. https://developers.facebook.com/docs/ios/open-graph#sharedialog However my post button in the share dialog is always disabled. (grey out) Has anyone encountered this before? I am working with Xcode 5 and testing on ios7 device. Regards, Jin I think I figure this out. Your share button might be disabled because you didn't finish the Facebook app configuration, or it