facebook-opengraph

Add 'Website' platform to facebook app

随声附和 提交于 2019-12-20 05:28:08
问题 I am building an app on facebook, I was going through the 'Getting Started with Open Graph' page by Facebook Developers. The author asks us to 'Add Platform' by clicking at a button with the same name at the bottom of the page, but no such button exists. What should I do? 回答1: Head to https://developers.facebook.com/apps Then select your app or create a new app in case you haven't Next you should get something like this (App dashboard): Now click on settings, here's the Add Platform button:

Is it possible to extract metadata from fetched url instead of canonical url?

故事扮演 提交于 2019-12-20 04:23:33
问题 I have a Facebook like that links to a page on witch I don't have complete control: I can modify the <body> but not the <head> of the page... So I tried to set the link of the like button on a new page on which I have complete control, set the opengraph metatags on this page, and set an og:url that links to the original page. But in the end Facebook tries to extract metadata from the og:url and overrides the metatags of the previous page... Is it possible to tell that I want to scrape

FQL to get user's open graph video.watches activity

南笙酒味 提交于 2019-12-20 03:23:31
问题 What table is needed in the FQL to get all of a user's video.watches activity? I can find no documentation about what table this information is stored in. An example would also be helpful. 回答1: This data is not available via FQL, it is currently only available via the Graph API. Once you have the user_actions.video and/or friends_actions.video you access the watch activity via the /video.watches endpoint. For example, if you have the user_actions.video permission for the user and want to get

ios facebook sdk v3.11 share dialog post button disabled

时间秒杀一切 提交于 2019-12-20 03:19:07
问题 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 回答1: I think I figure this

How to get a facebook user id from the login email address

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 03:01:52
问题 Is there a way to get a user's facebook user id from their login email address? I want an API call where I can provide joe@example.com and get facebook user id 342255534 . I'll use that id to call http://graph.facebook.com/342255534/picture?type=large The closest thing I've found is https://graph.facebook.com/search?q=EMAILADDRESS&type=user&access_token=ACCESSTOKEN , but that requires an access token, which I'm hoping to avoid. I know this isn't how it's supposed to work, but is there a way

facebook error code 102 with sdk 3.6

别等时光非礼了梦想. 提交于 2019-12-20 02:37:11
问题 Error: Error Domain=com.facebook.Facebook.platform Code=102 "The operation couldn’t be completed. (com.facebook.Facebook.platform error 102.)" UserInfo=xxxx {error_code=102, action_id=xxx-xxx-xxx-xxx-xxx, error_message=Could not generate preview text, app_id=xxxxx} This error appears when I press the post button in my app and the device switches to the facebook app to post my OG action. As soon as the facebook app opens and my og action text is visable this error gets logged and my device

What's the difference between the Like button with or without Open Graph META tags?

ε祈祈猫儿з 提交于 2019-12-19 11:57:46
问题 I have a very basic website with the potential for having hundreds of pages, and would like to have a the Facebook Like button on each one. However, before I do it, I would like to know the difference between inserting the Like button with, or WITHOUT using Open Graph META tags. I don't want each page that visitors 'Like' to become their own Facebook pages, but I WOULD like their 'Like' to show up on their wall so their friends can see it. Is the only real reason for using Open Graph to

Opengraph and music.listen

淺唱寂寞╮ 提交于 2019-12-19 11:24:43
问题 Trying several time to use the music.listen action and ending up trying to create our own listen action and song object. Some posts suggested that music.listen and songs built in actions and object were for now only available to launch partners. Can anybody tell if this is true and if yes how we can become a launch partner for the music opengraph ? Thanks. known urls : Using generic open graph objects and actions, and the publish_actions permission? http://facebook.stackoverflow.com/questions

Large og:image in feed

早过忘川 提交于 2019-12-19 09:47:10
问题 I've noticed there are two different ways facebook shows an open graph story with an image in a users' feed: one with a small image and the title and description next to it (example), and one with a larger image with the title and description beneath it (example). Following a tutorial, I was able to generate the large images. However, now that I'm leaving the tutorial and designing my own script, my posts are always shown with the small image. Anyone has an idea what's causing this? I'm

htaccess redirect all to https to http except for one folder

…衆ロ難τιáo~ 提交于 2019-12-19 04:08:26
问题 I don't know why I can't find this or do this but basically all I want to do is redirect any page on my server to https:// unless it is in the folder /fbthumbnails/ because facebook doesn't allow thumbnails to be https://. 回答1: Using mod_rewrite, stick this in an appropriate place in your .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} !^/fbthumbnails/ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] Change the R to R=301 if you want a permanent