fbconnect

Showing popup in the new Facebook JavaScript SDK

戏子无情 提交于 2019-11-30 07:43:09
I used to have an href in my website. When users clicked on it, a multi-friend selector showed so they could invite their friends to my website. That was done using the following code: FB.ensureInit(function() { var dialog = new FB.UI.FBMLPopupDialog('XXXXXXX', ''); var fbml = 'Multi-Friend-Selector FBML' dialog.setFBMLContent(fbml); dialog.setContentWidth(620); dialog.setContentHeight(570); dialog.show(); }); Now, I'm using the new JavaScript SDK ( http://connect.facebook.net/en_US/all.js ), but the old methods are not present... How can I do it with the new SDK? Raine Yes, finally got the

How to get user's facebook profile pic via fbconnect in my app iPhone? [duplicate]

痴心易碎 提交于 2019-11-30 07:22:34
Possible Duplicate: Problem getting Facebook pictures via iOS How to get user's facebook profile pic via fbconnect in my app iPhone? knuku Try look deeper through http://developers.facebook.com/docs/api . Here is a link to userpic: http://graph.facebook.com/000000000/picture Where 000000000 is an id of user logged. UPDATE by Michael Gaylord : You can also append the type to the request to get different sized images. So your request will look something like: http://graph.facebook.com/00000000/picture?type=large for a large image. Other options are small, normal and square. I think the most

Starting out with an application for Facebook Connect on the iPhone

╄→гoц情女王★ 提交于 2019-11-29 15:46:06
问题 I would like to make a button in order for the user to be able to connect and join a group I have created in Facebook. Is this possible with Facebook Connect? Is there a tutorial or something? 回答1: You can try checking out the newly-updated Facebook Connect SDK for iOS which has been updated for the Graph API. You can also check out Ray Wenderlich's series on using the Graph API with the iPhone starting here. 来源: https://stackoverflow.com/questions/3498631/starting-out-with-an-application-for

How to get user's facebook profile pic via fbconnect in my app iPhone? [duplicate]

廉价感情. 提交于 2019-11-29 09:37:20
问题 Possible Duplicate: Problem getting Facebook pictures via iOS How to get user's facebook profile pic via fbconnect in my app iPhone? 回答1: Try look deeper through http://developers.facebook.com/docs/api. Here is a link to userpic: http://graph.facebook.com/000000000/picture Where 000000000 is an id of user logged. UPDATE by Michael Gaylord: You can also append the type to the request to get different sized images. So your request will look something like: http://graph.facebook.com/00000000

Facebook ios sdk 3.0 active session FBiOSSDK error2

给你一囗甜甜゛ 提交于 2019-11-29 08:13:02
问题 I am getting "com.facebook.FBiOSSK error 2" error when ever try to login with my app by using device.But its working fine with the simulator. I am using iOs SDK 3.0 Beta. any solutions? 回答1: I had the same problem on authententication with "com.facebook.sdk error 2". And i think solved it on my part. Just make sure on your app definition on "https://developers.facebook.com/apps/.." on "IOS Bundle ID " section, that you put your app id like this com.domainname.appName and not X792739.com

Post to user's Facebook wall with iPhone using latest FBConnect SDK

人走茶凉 提交于 2019-11-28 19:58:54
I'm having a tough time finding any good documentation for the FBConnect iPhone SDK. I have the SDK set up to get the permissions from the user but making a simple post is escaping me. All I can find is documentation for the PHP web SDK. Can anybody point me to some documentation for the iPhone SDK or let me know how I can post to a users wall using the latest graph FBConnect SDK? Thanks! Have you looked at DemoApp under the sample directory in facebook-ios-sdk ? There's a publishStream method that might help. Or, you can use - (void)requestWithGraphPath:(NSString *)graphPath andParams:

Asynchronous methods in NSOperation

£可爱£侵袭症+ 提交于 2019-11-28 04:31:10
I'm fetching some data from Facebook Connect (using the FBConnect Objective-C 2.0 framework) and I'm doing all that in an NSOperation. It is in an NSOperation because I have several other operations that run as well and this is one of them. The problem is that all the FBConnect calls are asynchronous. Because of this, the main method of the NSOperation quickly finishes and the operation is marked as completed. Is there some way to overcome this? It would appear there are no synchronous options in FBConnect! Many thanks, Mike Below is a full example. In your subclass, after your async method

Javascript: My fbAsyncInit() method never gets called

醉酒当歌 提交于 2019-11-28 03:12:49
问题 I'm copying the code right out of this page on Facebook's developer website and the fbAsyncInit() method never fires. I've also read this page, I've tweaked the code quite a few different ways, and I cannot get the method to fire. Your thoughts? Also, for what it's worth, when I try and run this code and Chrome (on Mac) and run Firebug lite, I get an error that says "Firebug Lite cannot be loaded in this page" Here's the code... <html> <head> </head> <body> <div id="fb-root"></div> <script

Getting user id of facebook and twitter in sharekit

房东的猫 提交于 2019-11-27 06:13:06
问题 Iam implementing facebook and twitter using sharekit for an iphone app. How can we get the user id of the logged in user so that I could send it to the server. Any help will be greatly appreciated. Thank you. 回答1: you can get facebook user information using new facebook graph APIs for sample code you can use this. 回答2: Did you try Step 3 of the installation for Sharekit? Step 3: Filling in API Keys Most of the web services that ShareKit integrates require you to use an API key when connecting