ShareKit and TwitPic - iphone

Heya has anyone tried out sharekit www.getsharekit.com
Im looking for a simple plug n play way to get photos to twitter.
Let me know if anyone has achieved this.

ShareKit supports sharing urls and text with Twitter but not photos (yet).
There has been interest in getting a patch submitted to support this:
http://github.com/ideashower/ShareKit/issues#issue/1
It's open source so anyone can submit an update to add photo support to Twitter (which would be awesome).

Related

Any way to upload image to pinterest with iOS SDK, maybe using a fileURL?

Hi I'm trying to find a way to post/upload a locally generated image to pinterest with iOS SDK.
I'm doing the pinterest integration with UIWebView given that there is no public API and tried to use for the image url a fileURLWithPath: with no success obviously.
Does anyone have any idea if this can be accomplished?
The pinterest app obviously allows you to upload/pin an image from the camera roll.
Is there any way to embed that kind of functionality in my app?
Thank you!
You will need to post using a multipart/form data type of request. Here is an example of how to do it.
https://forrst.com/posts/Mutlipart_Form_Data_and_image_sending-Vw3

Built-in Like Button - Facebook SDK 3.0

Does anybody happen to know a good tutorial on placing the ‘I like it’ button into the application?
I’m especially interested in Facebook SDK 3.0 and the so-called Built-in Like button.
So far, I’ve been searching through google and stackoverflow but I haven't found anything about SDK 3.0.
Publishing a built-in like is very similar to publishing a custom Open Graph action. The best resource for learning about publishing built-in likes is Facebook's reference page:
https://developers.facebook.com/docs/opengraph/actions/builtin/likes/
Please see this post regarding likes and this post to see an alternative of adding a like button.
Ideally you could create a html iframe that links to the page. obviously this would open up the webpage to the link of the facebook like button. atm i believe that's how temple run achieve this. does the trick. They're getting many likes from users directed from the ios app temple run itself.

Creating a Facebook App

I am building a website for a client. He has a Facebook page for his business. On the homepage of his site, he wants a feed that will pull in all the updates from his business' Facebook page.
Now, I felt this would be very easy to implement (maybe it is) but I have scoured the Facebook API for any simple way to do this. I am having a lot of trouble understanding which way I should do this. I've settled on using JS to access it, but have no idea where to go from there.
Do I need to create an app? If so, which options do I select so I can access the clients facebook page?
How do I get my app that I've created to show up so a user can authorize it? I have so many questions, and Facebook isn't very good at giving me answers.
Any help is greatly appreciated.
I would suggest you just use the facebook page's RSS feed.
Example
Take his page URL e.g.
https://www.facebook.com/pages/Lazery-Attack/6001014870
Take the number at the end of the url off, and plug it into the facebook feeds URL e.g.
https://www.facebook.com/feeds/page.php?format=rss20&id=6001014870
Voila, you now have an RSS feed you can integrate into the website you are building.
URL Breakdown
The URL is broken down the following way:
https://www.facebook.com/feeds/page.php?format={feedFormat}&id={PageID}
Vaid feed formats are:
RSS - rss20
Atom - atom10
JSON - json
Other Examples
Atom
https://www.facebook.com/feeds/page.php?format=atom10&id=6001014870
JSON
https://www.facebook.com/feeds/page.php?format=json&id=6001014870
Take a look at the facebook API, right here: http://developers.facebook.com/docs/reference/api/page/
You can give it a try here:
http://developers.facebook.com/tools/explorer/?method=GET&path=19292868552%2Fposts
The like box: http://developers.facebook.com/docs/reference/plugins/like-box/ also has the latest posts available
The simplest way is to add a Like Button to the page and make sure "show Stream" is checked on as this will show all recent posts. You can customise the appearance also (e.g. width, height etc).
No App or messy API calls needed!
Try it out here and simply paste the resulting code into your webpage:
http://developers.facebook.com/docs/reference/plugins/like-box/
Not an app, but the Facebook Social Plugins over here at Facebook For Pages

How can I post formatted text with local image on Facebook or Twitter?

I want to share my local saved image and formatted text on Twitter or Facebook using my application.
For example, I want to combine both image and bolded text in a single post.
Are there any APIs available for it?
I recommend using ShareKit in your iOS application.
It is very easy to integrate a variety of Social Networking sites.
I find ShareKit pretty hard to use for a simple task like sharing to Facebook, Twitter or Email. Therefore I wrote a simple lib called BMSocialShare. Maybe you wanny give it a try?
BMFacebookPost *post = [[BMFacebookPost alloc]
initWithTitle:#"Simple sharing via Facebook, Email and Twitter for iOS!"
descriptionText:#"Posting to Facebook, Twitter and Email made dead simple on iOS. Simply include BMSocialShare as a framework and you are ready to go."
andHref:#"https://github.com/blockhaus/BMSocialShare"];
[post setImageUrl:#"http://www.blockhausmedien.at/images/logo-new.gif"
withHref:#"http://www.blockhaus-media.com"];
[[BMSocialShare sharedInstance] facebookPublish:post];

Twitter connect popup page for iphone

Does Twitter has the iPhone SDK which has a login popup like facebook iOS SDK?
It doesn't have. What I can recommend you is to use this DDSocialDialog library (just 4 classes) and you can have something similar
Look for this source code:
http://github.com/bengottlieb/Twitter-OAuth-iPhone
Thanks to Ben Gottlieb.
It opens the login page as a modal view.
Wrap the page in this:
https://github.com/cglong/FBDialog
No, it doesn't. You'll have to implement your own.
Sorry, they don't. But, as facebook, their REST API can return JSON payload and that's very easy to retrieve using NSURLConnection and parse using the JSON-Framework that you van find here
No Twitter does not have the login pop up as facebook has. You have to create your own login page. or you can get few from the open source.
Matt Gemmell and Craig Hockenberry, developer of Twitterific created MGTwitterEngine, an easy-to-use library of classes providing methods that make it extremely easy for the developer to access the Twitter API. see I believe there are a few other libs out there, but it's just as easy to roll your own because like Macha says above Twitter's API gives you the option to have the feeds in XML or JSON format.
Try this link
MGTwitterEngine
hAPPY cODING...