Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

a drop-to-use Weibo Share-Only Utility

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


What's This

This is designed to be a drop-to-use Weibo Share-Only Utility.
The first Version is done. It will let you share text either with image or not to your Weibo.


Share Box

How to Use

  1. Drag the ShareToCN/ShareToCN/ into your Xcode Project
  2. If you just want the share-to-weibo functionality:

    [ShareToCN shareText:text];
    //< Or
    [ShareToCN shareText:text WithImage:image];
    //< or pass in a delegate if you want the feedback.        
    [ShareToCN shareText:text withDelegate:delegate];
    //< or
    [ShareToCN shareText:text WithImage:image withDelegate:delegate];
    @protocol ShareToCNDelegate
    - (void)shareFailedWithError:(NSError *)error;
    - (void)shareSucceed;
  3. If you want a pop-out box to enter/edit the text:

    [ShareToCNBox showWithText:text];
    [ShareToCNBox showWithText:text andImage:image];
  4. Open ShareToCN.m, change to your key and secret here, all of the code is in ShareToCNBox.m/h, it is easy for you to customize.

Quite easy, right?


Thanks to JimLiu/WeiboSDK, and people who build some components I don't know where they come from,
you can find their names at the top of the files.

Something went wrong with that request. Please try again.