Adding the Facebook Like Button in an iPhone App

前端 未结 11 970
忘掉有多难
忘掉有多难 2020-12-04 17:08

Does anyone know how I would include a facbeook \"like button\" in an iphone app. I tried calling the iframe inside of a UIWebView but that doesn\'t work.

11条回答
  •  無奈伤痛
    2020-12-04 17:21

    You can use the open source SOOMLA Profile plugin: https://github.com/soomla/ios-profile

    There are code examples there for lots of Facebook related actions (login, like, share status, upload image, get contacts, invite, etc.). See: https://github.com/soomla/ios-profile/blob/master/SoomlaiOSProfileExample/SoomlaiOSProfileExample/ViewController.m

提交回复
热议问题