facebook-opengraph

Facebook Graph API checkin list

时光总嘲笑我的痴心妄想 提交于 2019-12-12 06:18:05
问题 Im looking for a way to use the Graph API to gather a list of users currently "checked in" to a particular place. Any help is greatly appreciated!!! Thanks Chris 回答1: To get a list of Users is not possible, because you'd then need the individual User's permission (respectively the Access Token) to access their checkin data (which I guess you don't have). What you could is just to request the number of checkins on an hourly schedule with the mentioned FQL query. Then you could store/calculate

Facebook taggable_friends returns json picture URL, but URL is invalid

天大地大妈咪最大 提交于 2019-12-12 06:04:32
问题 I get a json back from Facebook when using taggable_friends: {"id":"aaifpxqtnzaoxzj1htqpj3mx4xbjlipvuvch9muqueia1ic2xr3iqv1ouyisuk9ob8xknuwb1rk5poy92stj6oho1aiowst6lcx6dsz32pzibw", "name":"jan pietersen","picture":{"data":{"is_silhouette":false, "url":"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xaf1/v/t1.0-1/c22.22.276.276/s50x50/1002729_391175754325150_673656636_n.jpg?oh= 0f95c73655a7d1ba4d0a9b7418cb00a0&oe=5593eb6a& gda =1431088369_3978aa4d6e53a85856463087f4b37e93"}}} I get the

Jquery (jfeed) - Origin xxxxx is not allowed by Access-Control-Allow-Origin

落爺英雄遲暮 提交于 2019-12-12 05:47:43
问题 I'm using jFeed to try to retrieve a Facebook page's RSS feed. I can manually navigate to the RSS just fine (https://www.facebook.com/feeds/page.php?format=atom10&id=12345) but when I try to use the following code, I end up with the error "Origin xxxxx is not allowed by Access-Control-Allow-Origin." jQuery.getFeed({ url: 'https://www.facebook.com/feeds/page.php?format=atom10&id=12345', success: function (feed) { alert(feed.title); } }); I'm assuming this is due to it requiring OAuth 2.0, but

How to get a facebook test user token programmatically for a native app

纵饮孤独 提交于 2019-12-12 05:26:27
问题 We're developing an iPhone app backed by a server. The server talks to Facebook in order to push Opengraph events. I'm trying to test this code. I've created Facebook test users in the web interface. If I manually generate tokens for them they get generated with a 24 hour expiry, which render them useless for the tests. So I need to generate the tokens on demand in the testcode. The Facebook developer docs https://developers.facebook.com/docs/test_users/ say I can get accounts/test-users to

Custom watch action

妖精的绣舞 提交于 2019-12-12 05:25:46
问题 I want to use the watch action to share a "GIF" object but i am not allowed. I already know that the watch command is built in and it can only be used with videos, episodes etc. After some research i found that gifboom.com its allow to use the watch command as custom command. Please see http://img832.imageshack.us/img832/7240/capturefhv.png Also the link contains this: fb_action_types=gifboom:watch so it looks they were allowed to use watch as a custom action. How can i request a custom watch

facebook share button using dynamic og tags for a quiz

喜你入骨 提交于 2019-12-12 05:14:13
问题 I have a quiz and based on the score the user gets, a different image, score and description comes up. I want the user to be able to share this custom content and the url of the quiz on their facebook. What I ended up doing is I created a redirect page that has the appropriate open graph tags on it. The open graph tags get their values from the url parameters I send to it. routes.rb get "/facebook_sharer/index/:redirect_url/:image/:title/:description", to: "facebook_sharer#index", :redirect

How to set default FB App setting from from Only Me to Friends?

二次信任 提交于 2019-12-12 04:47:34
问题 I've been unable to find answer in the FB / API documentation, i'm hoping someone can just point me in the right direction. When I hit my test app it asks for me to grant it permissions, one of the drop-downs is set to "Only Me", so that any updates sent by that app will only be visible by me. I want it to be visible to my friends as well. I have everything working, just need to know how to change that particular setting! Thanks for any tips. 回答1: I guess you are talking about Auth Dialog.

Open Graph Action

笑着哭i 提交于 2019-12-12 04:35:43
问题 I am trying to run an example of a facebook provided Open Graph Action but nothing happens. When debugging I see that action is created but at [FBDialogs presentShareDialog...] it just skips over and jump to the end of the function. Why do you think this is? I read that the sharedialog cant run in the IOS simulator but shouldn't produce an error or something? Or if I run it on the simulator should nothing acctually happen? -(IBAction)ShareFB:(id)sender{ id<FBOpenGraphAction> action = (id

Upload video on fanpage via PHP API

允我心安 提交于 2019-12-12 03:57:39
问题 I have a little problem with my FB application. It's about that I always get error: {"error":{"message":"(#353) Missing video file","type":"OAuthException","code":353}} with this code: $post_url = "https://graph-video.facebook.com/xxx/videos?" . "title=" . $video_title . "&description=" . $video_desc . "&access_token=" . $access_token; $ch = curl_init(); $data = array( 'source' => 'http://x/upload/' . $name . '.' . $type, 'file' => './upload/' . $name . '.' . $type, 'type' => 'avi', ); curl

Sharing a Link doesn't post Image

假如想象 提交于 2019-12-12 03:48:29
问题 Images aren't being shown when a person shares a URL to our site. Using the debugger at https://developers.facebook.com/tools/debug and putting in the URL of http://www.muscleandfitness.com/videos/training/workout-101-overhead-pullover-video It shows that the meta tags are correct and an image is shown. However share this link on Facebook.com and no image is shown. Using Firebug I can see that the image scraper only returns a 1x1 pixel. https://www.facebook.com/ajax/composerx/attachment/link