¡@

Home 

2014/10/15 ¤U¤È 10:10:42

iphone Programming Glossary: jsonwriter

FBConnect facebook.stream.publish with NSDictionary problems

http://stackoverflow.com/questions/1652049/fbconnect-facebook-stream-publish-with-nsdictionary-problems

For Facebook then using the below method you can publish image as a stream. IBAction publishStream id sender SBJSON jsonWriter SBJSON new autorelease NSDictionary actionLinks NSArray arrayWithObjects NSDictionary dictionaryWithObjectsAndKeys @ Always.. dictionaryWithObjectsAndKeys @ Always Running @ text @ http thinkdiff.net @ href nil nil NSString actionLinksStr jsonWriter stringWithObject actionLinks NSDictionary imageShare NSDictionary dictionaryWithObjectsAndKeys @ image @ type @ http.. @ description @ http itsti.me @ href NSArray arrayWithObjects imageShare nil @ media nil NSString attachmentStr jsonWriter stringWithObject attachment NSLog attachmentStr NSMutableDictionary params NSMutableDictionary dictionaryWithObjectsAndKeys..

post link using facebook sdk on iphone

http://stackoverflow.com/questions/4422306/post-link-using-facebook-sdk-on-iphone

link using facebook sdk on iphone I have the demo facebook app and without any modification this is the code SBJSON jsonWriter SBJSON new autorelease NSDictionary actionLinks NSArray arrayWithObjects NSDictionary dictionaryWithObjectsAndKeys @ Always.. dictionaryWithObjectsAndKeys @ Always Running @ text @ http itsti.me @ href nil nil NSString actionLinksStr jsonWriter stringWithObject actionLinks NSDictionary attachment NSDictionary dictionaryWithObjectsAndKeys @ a long run @ name @.. @ The Facebook Running app @ caption @ it is fun @ description @ http itsti.me @ href nil NSString attachmentStr jsonWriter stringWithObject attachment NSMutableDictionary params NSMutableDictionary dictionaryWithObjectsAndKeys @ Share on Facebook..

How to post to a friends Wall using Facebook Graph API for iPhone

http://stackoverflow.com/questions/4614920/how-to-post-to-a-friends-wall-using-facebook-graph-api-for-iphone

Graph API for iPhone I want to post something in the users friends wall. I use this to post into the user wall SBJSON jsonWriter SBJSON new autorelease NSDictionary actionLinks NSArray arrayWithObjects NSDictionary dictionaryWithObjectsAndKeys @.. dictionaryWithObjectsAndKeys @ Always Running @ text @ http itsti.me @ href nil nil NSString actionLinksStr jsonWriter stringWithObject actionLinks NSDictionary attachment NSDictionary dictionaryWithObjectsAndKeys @ a long run @ name @.. @ The Facebook Running app @ caption @ it is fun @ description @ http itsti.me @ href nil NSString attachmentStr jsonWriter stringWithObject attachment NSMutableDictionary params NSMutableDictionary dictionaryWithObjectsAndKeys @ Share on Facebook..

Posting attachments with Facebook Graph API using iPhone SDK

http://stackoverflow.com/questions/5568642/posting-attachments-with-facebook-graph-api-using-iphone-sdk

@ property 1 @ PROP1 @ property 2 @ PROP2 nil @ properties nil NSString attachmentStr jsonWriter stringWithObject attachment NSMutableDictionary params NSMutableDictionary dictionaryWithObjectsAndKeys @ post @ type.. properties NSDictionary dictionaryWithObjectsAndKeys @ property 1 @ PROP1 @ property 2 @ PROP2 nil NSString propStr jsonWriter stringWithObject properties NSMutableDictionary params NSMutableDictionary dictionaryWithObjectsAndKeys @ post @ type ..

iOS SDK posting a link & displaying a thumbnail

http://stackoverflow.com/questions/6509838/ios-sdk-posting-a-link-displaying-a-thumbnail

image similar to how it would if you posted from a web browser . Basically the code from Stack Overflow is SBJSON jsonWriter SBJSON new autorelease NSDictionary actionLinks NSArray arrayWithObjects NSDictionary dictionaryWithObjectsAndKeys @ Always.. dictionaryWithObjectsAndKeys @ Always Running @ text @ http itsti.me @ href nil nil NSString actionLinksStr jsonWriter stringWithObject actionLinks NSDictionary attachment NSDictionary dictionaryWithObjectsAndKeys @ a long run @ name @ The.. @ The Facebook Running app @ caption @ it is fun @ description @ http itsti.me @ href nil NSString attachmentStr jsonWriter stringWithObject attachment NSMutableDictionary params NSMutableDictionary dictionaryWithObjectsAndKeys @ Share on Facebook..