sharekit

linker error with ShareKit ios

こ雲淡風輕ζ 提交于 2019-12-03 12:40:36
问题 i have spent 3 days for searching the solution. I don't know what to do with this... I need the -ObjC flag for SDWebImage library ( and AFNetworking too, i think) . I can remove it, and everything is fine with ShareKit, but not fine with SDwebImage. Undefined symbols for architecture i386: "_ABAddressBookCopyArrayOfAllPeople", referenced from: ___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o) "_ABAddressBookCreateWithOptions", referenced from:

could not authenticate OAuth while using twitter from sharekit in iphone app

落爺英雄遲暮 提交于 2019-12-03 08:51:55
问题 I m implementing facebook & twitter share using sharekit in iphone app. Facebook share is working fine but twitter share gives error "could not authenticate OAuth". 回答1: I was having the same problem - this fixed it: https://github.com/ideashower/ShareKit/issues/229 Summary: Change SHKTwitter.m in lines 54-56 from https://twitter.com/ to https://api.twitter.com/ like this: self.authorizeURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/authorize"]; self.requestURL = [NSURL

iPhone - ShareKit , SHK.m giving the compiler error for FileNot Found

[亡魂溺海] 提交于 2019-12-03 08:11:06
问题 I am facing the issue while compiling my iphone project with ShareKit Integrated .I was working on that , everything was working fine till now , all of a sudden now its giving me the error. In SHK.m file , #import </usr/include/objc/objc-class.h> file not found I guess I have accidentally changed something or deleted any file . Not getting what has happened wrong. Can anybody help me with this issue ?? Note : ( I have not changed my Xcode , nor the project location or anything ) 回答1: The

Facebook App-Application is misconfigured for Facebook integration

不羁岁月 提交于 2019-12-01 04:02:46
问题 I am developing iphone app which shares photos on social networks.For photo sharing I am using "Sharekit".I have created Facebook App and using its api key and secrete.(used correct api key and secret.). When I try to share image with this app(even simple text),the following error comes.(even the facebook login popup doesn't appear.) "Sorry,the application you are using misconfigured for Facebook integration.Please download the newest version of the application" I would have uploaded snap

ShareKit - posting linked image to facebook wall

岁酱吖の 提交于 2019-11-30 13:34:45
问题 ( this is really the same as this question, but the answer given was not relevant add image and description on facebook with sharekit ) How do I send a link to an image with ShareKit, so that when shared, it appears like so: Or, alternatively, can I set the FB app to always show the big icon when something is posted? 回答1: (answering my question) I changed the file SHKfacebook.m changing the dialog.attachment line to read: dialog.attachment = [NSString stringWithFormat:@"{\"name\":\"%@\",\

ShareKit - posting linked image to facebook wall

杀马特。学长 韩版系。学妹 提交于 2019-11-30 07:41:46
( this is really the same as this question, but the answer given was not relevant add image and description on facebook with sharekit ) How do I send a link to an image with ShareKit, so that when shared, it appears like so: Or, alternatively, can I set the FB app to always show the big icon when something is posted? (answering my question) I changed the file SHKfacebook.m changing the dialog.attachment line to read: dialog.attachment = [NSString stringWithFormat:@"{\"name\":\"%@\",\"href\" :\"%@\",\"media\":[{\"type\":\"image\",\"src\":\"http://example.com/example.png\" ,\"href\": \"http:/

Is it possible to bypass the tweet dialog and post directly to twitter?

元气小坏坏 提交于 2019-11-29 09:56:35
问题 I am using ShareKit to implement Twitter share. I have a view controller with a textview and would like to send that text to the post in ShareKit while bypassing the tweet input dialog. SHKItem *item = [SHKItem text:[postText text]]; [SHKTwitter shareItem:item]; The code above authenticates the user if not logged in, then takes my text and populates ShareKits tweet dialog. Digging through their code has confused the heck out of me. Has anyone been able to successfully post the tweet text

ShareKit changes?

我的梦境 提交于 2019-11-28 23:22:27
问题 I haven't used ShareKit much, but I want to have only three sharing options: Facebook, Twitter, and Email. ShareKit gives far more options, including a More button. However, I don't want the More option, just the three. In SHKActionSheet.m of ShareKit: // Add More button [as addButtonWithTitle:SHKLocalizedString(@"More...")]; 回答1: It is super easy now, if you use ShareKit 2.0. edit SHKSharers.plist to include only sharers you need. In case you do not want to compile unused sharers files,

iPhone/iOS - How to use “ShareKit” to post only to Facebook or only to Twitter

你。 提交于 2019-11-28 05:25:33
In my iPhone app, I have two two buttons, labeled "Facebook" and "Twitter". I want to use the Sharekit framework which makes my sharing very simple. But as shown in the sample code of ShareKit, I can only show many sharing services, which I don't want to include. I want my "Facebook" button to only show the Facebook sharing service, and the same with Twitter. How can I modify ShareKit to work like that? Andrew Update : Since this answer is still popular, I just wanted to add that with iOS 5 & iOS 6, there is much less need for Sharekit . A lot of popular sharing options are now built into the

Getting user id of facebook and twitter in sharekit

房东的猫 提交于 2019-11-27 06:13:06
问题 Iam implementing facebook and twitter using sharekit for an iphone app. How can we get the user id of the logged in user so that I could send it to the server. Any help will be greatly appreciated. Thank you. 回答1: you can get facebook user information using new facebook graph APIs for sample code you can use this. 回答2: Did you try Step 3 of the installation for Sharekit? Step 3: Filling in API Keys Most of the web services that ShareKit integrates require you to use an API key when connecting