facebook-opengraph

Open Graph Map layout

前提是你 提交于 2019-12-23 04:52:39
问题 I succesfully posted an action to open graph with the 'Item' attachment layout. However I also want to post a action with the 'Map' attachment layout. My iOS app has an array with coordinates which form a route on a map. I looked everywhere but just cant find a good tutorial which explains how to achieve this. Does someone know how to post a action to the open graph with a route preview on the map? 回答1: When you are creating your Open Graph custom Objects, you need to define a property of

facebook caches og:title?

给你一囗甜甜゛ 提交于 2019-12-23 04:14:19
问题 http://developers.facebook.com/tools/lint?url=http%3A%2F%2Fnetworks.co.id%2Fblog.php%3Fid%3D2 the problem is that facebook does read my url rightly like this ok everything goes fine untill i scroll and check my like button on my page. do facebook cache them ? or there is a better explanation. thanks for the time looking in :D. 回答1: It's absolutely a matter of caching, just try to add a dummy parameter to your URL to fool facebook and you'll see. :-) For you and @Michael Irigoyen, it's always

No “Admin Page” link on Facebook Like button on a web page

ⅰ亾dé卋堺 提交于 2019-12-23 02:51:17
问题 I have a website that uses the Facebook like button. I am attempting to get the "Administration" link to show up on the page so that I can push content to people who like the page. My page's HTML namespace is like: <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#"> My meta tags are like so: <link rev="canonical" href="http://mysite.com/welcome/" /> <meta property="og:locale" content="en_US" /> <meta property="og:site_name" content="MySite" /> <meta property="fb

Android how to share data with Facebook Open Graph in new sdk 3.0?

白昼怎懂夜的黑 提交于 2019-12-23 02:46:07
问题 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. EDIT: Am creating object and action like this Objects and action this is code for sharing void publishToWall() { Session session = Session.getActiveSession(); if (session != null) { Log.i("session ==>", "" +session); // Check for publish permissions List<String> permissions = session

Facebook Open Graph Protocol on Tumblr

本小妞迷上赌 提交于 2019-12-22 10:45:28
问题 When a link from my Tumblr blog is posted on Facebook, Facebook grabs the title between the title tags and not the one specified in the Open Graph meta tags. Why is it doing this? Is there any way to fix it? 回答1: Without seeing the code, I'm not sure what you're problem is exactly, but for anyone else searching for this looking for how to set up Open Graph on their blog, try doing something like this: <!-- FACEBOOK OPEN GRAPH --> <!-- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>--> <meta

Are non-app users' pictures still avalible in Facebook Open Graph v2.0?

☆樱花仙子☆ 提交于 2019-12-22 09:49:00
问题 In Graph API v1.0, I could get the profile picture of any user with the following call graph.facebook.com/{uid}/picture (fb doc). In Graph API v2.0 facebook says it will return (a) app-scoped user ids for app users, and (b) temporary tokens for non-app users (through /me/taggable_friends and /me/invitable_friends api calls). Based on this, I would assume that the picture api call is deprecated in v2.0. However, the documentation makes it seem like there was not change to this call in v2.0.

Example Facebook object code.

无人久伴 提交于 2019-12-22 09:40:10
问题 This is the sample code i get from Facebook for the using custom objects. I created this with a custom action to make use of the Facebook story. Facebook Documentation: https://developers.facebook.com/docs/opengraph/overview/ NSMutableDictionary<FBGraphObject> *object = [FBGraphObject openGraphObjectForPostWithType:@"sotd_facebook:new_zombie" title:@"Sample New Zombie" image:@"https://fbstatic-a.akamaihd.net/images/devsite/attachment_blank.png" url:@"http://samples.ogp.me/191078581053171"

Open Graph beta: How can you tag friends in a action?

时光毁灭记忆、已成空白 提交于 2019-12-22 09:19:07
问题 I've managed to publish an activity using the Graph API. How can you tag friends in a action? I can see you can add tags in the action dashboard, but other than that it's not specified how to tag friends. 回答1: There's a simplified example at https://developers.facebook.com/docs/beta/opengraph/actions/#tagging Actions can be tagged with places and people by specifying the place and tags optional parameters. A sample call would be a POST to https://graph.facebook.com/me/{APP_NAME}:{ACTION NAME}

Timeline Action Layout - No Attachment displayed

为君一笑 提交于 2019-12-22 04:46:06
问题 I am trying to post a Action to the Facebook Timeline using the JS API FB.api('/me/application:action_type' + '?opject_type='+document.location.href,'post', function(response) { if (!response || response.error) { alert("error"); } else { alert("success"); } }); Posting works quite well and the API returns no error. A new activity appears at the Timeline but only as a small text within the "recent activities" box which looks like this: What could be the problem if the action is not displayed

Can I force a refresh of a Facebook Object's image URL?

谁都会走 提交于 2019-12-22 00:09:16
问题 I have several objects hosted by Facebook that are posted to users' activity logs. The URL for the image is pointed to our content delivery solution, which redirects to a versioned image. This means that the URL can stay constant, but the image might change. As you can see in this image when the image changes, Facebook can still load it correctly (see the og:image column), but the image created in the actual post (see the hover text, which comes from https://fbexternal-a.akamaihd.net/safe