How to post message to Facebook wall from the iPhone SDK?

后端 未结 1 1273
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 07:47

I am new to iPhone. My application connects to Facebook using the iPhone SDK, and I can post a default message using

@\"http://www.facebook.com/connec

相关标签:
1条回答
  • 2020-12-12 08:13

    the error message you are getting is due to NSString. this is not an facebook error.

    In order to post a message on facebook use the following code

    [NSString stringwithFormat:@"http://www.facebook.com/connect/prompt_feed.php/?message=%@",twittermessage];
    

    Then use this string as a reference for the URL to post a message

    0 讨论(0)
提交回复
热议问题