sharekit

add image and description on facebook with sharekit

倾然丶 夕夏残阳落幕 提交于 2019-12-12 11:17:31
问题 I am using sharekit to share text on facebook, i want to add a picture near the text like in this photo : Any idea how to do this? and is there other suitable library like sharekit ? Thanks. 回答1: Add an og:image meta tag to your head html block. http://developers.facebook.com/docs/reference/plugins/like/ 回答2: NSString *urlImage = @"some Image URL "; [item setCustomValue:urlImage forKey:@"image"]; //item is shareitem Should get what you wanted. 来源: https://stackoverflow.com/questions/6542050

How can I add a specific email recipient to my sharekit item?

爱⌒轻易说出口 提交于 2019-12-12 10:18:08
问题 So, I'm using sharekit to share some text. I need to be able to send the email to a pre-defined recipient. How can I set the mail recipient to the sharekit item? 回答1: Sharekit has now implemented this. You can use the example below. NSURL *url = [NSURL URLWithString:@"Your URL"]; SHKItem *item = [SHKItem URL:url title:@"Your title" contentType:SHKURLContentTypeUndefined]; NSArray *recipientArray = [NSArray arrayWithObjects:@"mail@example.com",nil]; [item setMailToRecipients:recipientArray];

Twitter Integration issue using sharekit in ios?

ε祈祈猫儿з 提交于 2019-12-12 03:56:42
问题 Am using sharekit sdk for twitter sharing it is working fine before suddenly from two days it was showing problem like "There was a problem to accessing Twitter" can any one have a idea to find out solution 回答1: Twitter recently tightened restrictions on OAuth. From the discussion (https://dev.twitter.com/discussions/16443): You must pass an oauth_callback value to oauth/request_token. It's not optional. Even if you have one already set on dev.twitter.com. If you're doing out of band OAuth,

Mail sharing option not visible

丶灬走出姿态 提交于 2019-12-12 02:13:17
问题 I am using ShareKit in my iphone app I am currently developing and would like to implement sharing by Facebook, Twitter, Tumblr and by Mail. I have set up everything but the problem is that all of theese options are visible in sharing menu that is displayed when custom share button is tapped except the Mail option so i am not sure what i am doing wrong. In SHK.m class file in favoriteSharersForType method i've set up favorite sharers this way: favoriteSharers = [NSArray arrayWithObjects:@

Posting to Facebook from Sharekit

故事扮演 提交于 2019-12-11 16:49:30
问题 I am newbie to sharekit. I am trying to post a simple text: @"Hello" to Facebook, but facing problems in doing so.. It leads me to the login page. I login and then it closes and comes back to the main screen. But when i check my timeline, it is not added.. My ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController{ UIButton *btn; IBOutlet UIToolbar *toolbar; } @property (nonatomic,strong) UIButton *btn; - (IBAction)btnShareClicked:(id)sender; @end My

Are there any good tutorials for using ShareKit?

时间秒杀一切 提交于 2019-12-11 11:08:53
问题 Does anyone know of a good tutorial that is easy to understand for ShareKit? I've looked but found nothing. I'm pretty new to Xcode. 回答1: The GitHub wiki for ShareKit v2.0 has a great page titled Installing ShareKit that should help you get up and running with the latest incarnation of this project. The source tree also has an xcodeproj file which contains sample code showing how to integrate ShareKit into your own project. 回答2: You can checkout the documentation given in http://getsharekit

iPhone:Error of misconfiguration for facebook integration occurs [duplicate]

感情迁移 提交于 2019-12-11 08:39:07
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Facebook App-Application is misconfigured for Facebook integration I have registered my app on facebook and I use sharekit for facebook integration when I try to send msg from my app I get the error msg as follows: "Sorry, the application you are using is misconfigured for Facebook integration. Please download the newest version of the application." I am not able to understand why does this msg generate? if you

ShareKit Compile Issue - JSONKit not found

我怕爱的太早我们不能终老 提交于 2019-12-11 07:55:00
问题 I have followed the following instructions in order to setup and configure ShareKit: https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit When trying to compile my app, I now get the following error: clang: error: no such file or directory: '/app_root_path/Submodules/ShareKit/Classes/ShareKit/Core/Helpers/../../Submodules/JSONKit/Submodules/ShareKit/Submodules/JSONKit/JSONKit.m' clang: error: no input files Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault

Strange compiler error during ShareKit integration

一笑奈何 提交于 2019-12-11 02:47:56
问题 I tried integrate ShareKit in my project and I face a problem. By the time I include the ShareKit classes in my classes project folder the compiler gets errors like "Parse Issue. Unknown type name 'NSUInteger'" or "Parse Issue. Unknown type name 'NSString'" in the MyProject_Prefix.pch file. The variables I defined in the prefix file are globally used by my application. I have never got this kind of error before untill I included the ShareKit classes in my project. Thanks in advance. 回答1: I

“symbol(s) not found for architecture i386” problem using ShareKit

风流意气都作罢 提交于 2019-12-10 17:26:48
问题 I want to use the http://getsharekit.com framework for future iOS projects. Hence I started testing out the framework. But I already get the following error: Undefined symbols for architecture i386: "_OBJC_CLASS_$_SHKItem", referenced from: objc-class-ref in ShareKitTestAppDelegate.o "_OBJC_CLASS_$_SHKActionSheet", referenced from: objc-class-ref in ShareKitTestAppDelegate.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Often, as far as I know, these