iphone Programming Glossary: requestwithgraphpath
Upload multiple photos on Facebook using Batch Request http://stackoverflow.com/questions/10291741/upload-multiple-photos-on-facebook-using-batch-request self.image1 forKey @ file1 params setObject UIImagePNGRepresentation self.image2 forKey @ file2 objFacebook requestWithGraphPath @ me andParams params andHttpMethod @ POST andDelegate self Now when I am running this code I got the following output...
Facebook API: Post on friend wall http://stackoverflow.com/questions/10773030/facebook-api-post-on-friend-wall something on a users friends wall without having to get all the friends first So you can get the friend id facebook requestWithGraphPath @ me friends andDelegate self iphone ios facebook facebook graph api share improve this question See this IBAction.. @ LOL forKey @ name postVariablesDictionary setObject self.postTextView.text forKey @ message objDelegate.facebook requestWithGraphPath NSString stringWithFormat @ @ feed friendId andParams postVariablesDictionary andHttpMethod @ POST andDelegate nil NSLog..
How to send add friend request (to facebook user) from iOS application? http://stackoverflow.com/questions/11521580/how-to-send-add-friend-request-to-facebook-user-from-ios-application you can do this NSDictionary params NSDictionary dictionaryWithObjectsAndKeys message @ message nil self facebook requestWithGraphPath @ FRIEND ID apprequests andParams params mutableCopy andHttpMethod @ POST andDelegate delegate Make sure you have the..
Post to user's facebook wall with iPhone using latest FBConnect sdk http://stackoverflow.com/questions/4486528/post-to-users-facebook-wall-with-iphone-using-latest-fbconnect-sdk 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 NSMutableDictionary params andHttpMethod NSString httpMethod andDelegate id FBRequestDelegate.. params andHttpMethod NSString httpMethod andDelegate id FBRequestDelegate delegate like this _facebook requestWithGraphPath @ user_id feed andParams NSMutableDictionary dictionaryWithObject @ test wall post forKey @ message andHttpMethod @ POST..
iOS Development: How can I get a Facebook wall post to show in the friend's news feed? http://stackoverflow.com/questions/4777214/ios-development-how-can-i-get-a-facebook-wall-post-to-show-in-the-friends-news to facebook ID i've assumed here you have stored this from an earlier call the graph api in person.facebookID facebook requestWithGraphPath NSString stringWithFormat @ @ feed person.facebookID andParams params andHttpMethod @ POST andDelegate self http developers.facebook.com.. docs reference api post To get a list of the users friends use the graph path me friends facebook requestWithGraphPath @ me friends andDelegate self Which will return a JSON list of the users friends names and their Facebook ids to the appropriate..
How to comment or like a photo in facebook through FBconnect or Graph API in iPhone SDK? http://stackoverflow.com/questions/4957260/how-to-comment-or-like-a-photo-in-facebook-through-fbconnect-or-graph-api-in-iph method defined in Facebook.h with your path and no parameters for Like and a message as a parameter for Comment void requestWithGraphPath NSString graphPath andParams NSMutableDictionary params andHttpMethod NSString httpMethod andDelegate id FBRequestDelegate..
Problem getting Facebook pictures via iOS http://stackoverflow.com/questions/5126678/problem-getting-facebook-pictures-via-ios I'm trying to fetch events and profile pictures via Facebook connect on iOS I've made for example the request facebook requestWithGraphPath @ me picture andDelegate self and the response handling method void request FBRequest request didLoad id result NSString..
fbconnect API response in IPhone http://stackoverflow.com/questions/5141703/fbconnect-api-response-in-iphone API response in IPhone I am calling the facebook API like that IBAction testBtnAct id sender facebookObj requestWithGraphPath @ me andDelegate self IBAction test1BtnAct id sender facebookObj requestWithGraphPath @ me friends andDelegate self void.. testBtnAct id sender facebookObj requestWithGraphPath @ me andDelegate self IBAction test1BtnAct id sender facebookObj requestWithGraphPath @ me friends andDelegate self void request FBRequest request didLoad id result NSLog @ request didLoad.. @ result Issue..
Using 'Like' with the Facebook Graph API on iOS http://stackoverflow.com/questions/5281665/using-like-with-the-facebook-graph-api-on-ios NSString managedObject valueForKey @ message_id NSLog @ Like @ NSString stringWithFormat @ @ likes messageID facebook requestWithGraphPath NSString stringWithFormat @ @ likes messageID andParams nil andHttpMethod @ POST andDelegate self However this returns an..
How to list only online users on facebook with xmpp framework http://stackoverflow.com/questions/5300912/how-to-list-only-online-users-on-facebook-with-xmpp-framework is my code executed after facebook login. void fbDidLogin NSLog @ logged in..................... appDelegate.facebook requestWithGraphPath @ me andDelegate self DDLogVerbose @ s accessToken @ expirationDate @ __PRETTY_FUNCTION__ appDelegate.facebook.accessToken.. when the user successfully logged in. void fbDidLogin NSLog @ logged in..................... appDelegate.facebook requestWithGraphPath @ me andDelegate self DDLogVerbose @ s accessToken @ expirationDate @ __PRETTY_FUNCTION__ appDelegate.facebook.accessToken..
Facebook connect Batch requests and FQL error problem http://stackoverflow.com/questions/5353117/facebook-connect-batch-requests-and-fql-error-problem with the batch key mapped to the JSON requests string. Then send the request. Note that you need to put something in requestWithGraphPath. I simply put me this request is NOT considered . You also MUST send it as a POST http method. Finally wait for the response.. NSMutableDictionary params NSMutableDictionary dictionaryWithObject jsonRequestsArray forKey @ batch facebook requestWithGraphPath @ me andParams params andHttpMethod @ POST andDelegate self void request FBRequest request didLoad id result NSArray allResponses..
iPhone Facebook Video Upload http://stackoverflow.com/questions/5355846/iphone-facebook-video-upload params NSMutableDictionary dictionaryWithObjectsAndKeys @ title @ description @ file videoData @ clip.mov nil facebook requestWithGraphPath @ me videos andParams params andHttpMethod @ POST andDelegate self This is the right way to do it ™ the previous solution..
facebookErrDomain error 10000 when calling graph api Facebook ios http://stackoverflow.com/questions/5497302/facebookerrdomain-error-10000-when-calling-graph-api-facebook-ios params NSMutableDictionary dictionaryWithObjectsAndKeys @ test message from stackoverflow @ message nil facebook requestWithGraphPath @ me feed andParams params andDelegate self as you can see i'm trying to get the users feed out. I use the following code.. you're trying to post a message with the Graph API. Unfortunately that's not the way to do it and a call like facebook requestWithGraphPath @ me feed andDelegate self is meant for read only use. Again look at the above link for an example of how to use the publish_stream..
Get Facebook News Feed iOS? http://stackoverflow.com/questions/6205123/get-facebook-news-feed-ios c ios facebook share improve this question using the Facebook SDK you can call Facebook Graph API using facebook requestWithGraphPath @ me home andDelegate self to get the current user's newsfeed. You can then use the returned data to populate your tableview...
|