简体   繁体   中英

How to share text to Facebook

In RootviewController of my application I have a textfield and a button. I write something in that text field and after that when I click on the button then that text should be shared in Facebook. How to do this??

i think you need to integrate FB in your app to post your comments...

You must integrate Facebook SDK in order to do anything in user's account from iPhone app. After integrating and login You need to ask for permission "set_status" and after that you can show dialog for "set_status". That will show what exactly you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM