• Stars
    star
    206
  • Rank 189,479 (Top 4 %)
  • Language
    Objective-C
  • Created over 14 years ago
  • Updated over 14 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of libraries in Objective-C for working with Twitter's xAuth implementation.
XAuthTwitterEngine library and demo for iPhone.
by Aral Balkan (@aral, http://aralbalkan.com)
Copyright 2010 Aral Balkan. All Rights Reserved. 

License: MIT

Removes a lot of the unnecessary oAuth browser-based authentication bloat from the Twitter+oAuth Source and provides a very simple example to demonstrate how to use Twitter's new xAuth authentication system. 

The easiest way to use the library in your own projects is to drag the Twitter+oAuth folder from the Libraries folder in the demo application to your own project. Also, don't forget to add libxml2.dylib to your new project. 

If you find this helpful, I would really appreciate it if you could tweet or blog about @feathers_app my Twitter app for iPhone:

Feathers: decorate your tweets.
http://feathersapp.com

* * *

Special thanks to: 

Norio Nomura for sharing his xAuth implementation:
http://github.com/norio-nomura/ntlniph/commit/5ce25d68916cd45254c7ff2ba9b91de4f324899a

Steve Reynolds for alerting me to Norio Nomura's xAuth code, with which I updated Ben's oAuth Twitter engine for xAuth.

Ben's original notes for Twitter+OAuth follow:

Twitter+OAuth Source and Example for iPhone
Glommed together by Ben Gottlieb
copyright 2009 Stand Alone, Inc - all rights reserved.
License: BSD, If you use it, please include the following text somewhere in your application's user-facing text:
"Includes Twitter+OAuth code by Ben Gottlieb"

The goal of this was to create a drop-in code package for iPhone apps that want to access Twitter via OAuth. The main benefit here is that the source line on the Twitter page will say your app name, rather than "from web". 

This includes source taken from several other open frameworks, listed below. Most of the heavy lifting was all done by them, I just synthesized it into a (hopefully) easily digestible chunk.

I decided not to do the whole thing as a static library since most developers are already using Matt Gemmell's MGTwitterEngine, and there was no reason to duplicate code. It adds about 200k to the final size of your project, mainly due to the OAuth library.

Enjoy, and please let me know if you have any feedback!

Ben Gottlieb
[email protected]

== Major Changes Log ==
2/24/10					- added additional PIN checks in case Twitter changes the way they pass the PIN back
					- if all else fails, prompt the user to copy their PIN. The app will grab this and use it
					- this last part only works on OS 3.x and later, Everything else should work fine on 2.x.
					- integrated the latest build of MGTwitterEngine


Example:
Use the project in the Demo folder. You'll need to replace the strings in Demo/Src/OAuthTwitterDemoViewController.m with your own consumer key and consumer secret (visit  http://twitter.com/oauth_clients/new to obtain these).


Built using:
MGTwitterEngine by Matt Gemmell
http://mattgemmell.com
License:  http://mattgemmell.com/license
I have included 1.0.8 release of the MGTwitterEngine unchanged in this project.  
The goal is to create an easily buildable project that has no dependancies.


OAuthConsumer Framework
Jon Crosby
http://code.google.com/p/oauth/
License:  http://www.apache.org/licenses/LICENSE-2.0
I have included a pre-built binary of the OAuthConsumer Framework unchanged in this project.  
The goal is to create an easily buildable project that has no dependancies.


OAuth-MyTwitter
Chris Kimpton
http://github.com/kimptoc/MGTwitterEngine-1.0.8-OAuth-MyTwitter/tree/master
License:  Couldn't find one.  Will amend this if I do.
Some code from this project was used to create the YHOATwitterEngine subclass of MGTwitterEngine.
Thanks Chris, you made this project a simple!


OAuth Test Application
Isaiah Carew
http://github.com/yourhead/OAuth_ObjC_Test_App/tree/master
License: None found.
Isaiah's test app worked great on the Mac, but didn't make use of the PIN number passed back by Twitter, and also needed to be re-worked to work on the phone.

More Repositories

1

gaebar

Google App Engine Backup and Restore
Python
69
star
2

fork-me-on-github-retina-ribbons

Retina (@2x) and regular versions of the ‘Fork me on GitHub’ ribbons.
45
star
3

adhoc

Ad Hoc distribution packager for iPhone projects
41
star
4

MGTwitterEngineDemo

A demo app to show you how to use MGTwitterEngine with XAuth. Also demonstrates how to migrate from XAuthTwitterEngine to MGTwitterEngine.
Objective-C
39
star
5

tally

Tally is a simple, unobtrusive, design‐led JavaScript template engine for Node/Express and client.
JavaScript
31
star
6

DocSets-for-iOS

Dedicated app for reading Apple's developer documentation on an iPad or iPhone
C
26
star
7

responsive-pixels

Stylus library for working in pixels and having generated CSS in REMs.
CSS
22
star
8

vite-plugin-ssr-svelte

WIP: an attempt to create a lightweight and flexible SSR solution for Svelte using vite-plugin-ssr.
JavaScript
18
star
9

wordpress-migration-tools

A few tools for working with wordpress export files (WXR)
Python
12
star
10

GrabMagic

The best designed experiences make technology invisible and give people superpowers (what I call The Superman Effect). This is what I just made over the course of less a day in Cannes for #mipboathack You reach out to your TV and grab the current screen in your hand then transfer it to your phone by tapping its screen. Magic! :)
Objective-C
12
star
11

gaebar-gaed-skeleton

A Google App Engine Django (Google App Engine Helper) skeleton app for creating your own App Engine apps that have Gaebar installed by default. Just unzip this and start creating your Django project.
Python
11
star
12

quill-markdown-shortcuts-for-vue-quill-editor

Fork of Quill.js module that converts markdown to rich text formatting while typing. Optimised for vue-quill-editor and Vue/Nuxt. Demo of the original:
JavaScript
8
star
13

kappa-architecture-workshop-work-files

Work files as I follow along with the kappa architecture workshop
JavaScript
6
star
14

DDSocialDialog

A FacebookConnect look-alike UIView dialog for iPhone and iPad (and iPhone 4 Retina Display!)
Objective-C
6
star
15

snowpack-hmr-from-scratch

Snowpack Hot Module Replacement (HMR) from scratch with vanilla JavaScript
JavaScript
6
star
16

gaebar-aep

Functional tests for Gaebar running on app-engine-patch-based Django app.
Python
5
star
17

gaebar-gaed

Functional tests for Gaebar running on Google App Engine Helper-based Django app.
Python
5
star
18

vite-plugin-ssr-with-tls

A version of the default vue starter template from vite-plugin-ssr that uses @small-tech/https for automatic TLS.
JavaScript
4
star
19

esbuild-svelte-plugin-example

An implementation of the sample esbuild svelte plugin code at https://esbuild.github.io/plugins/#svelte-plugin
JavaScript
4
star
20

isvat

European VAT Number Validation API
Python
3
star
21

heydons-inclusive-tabbed-interface-in-svelte

A step-by-step study in converting Heydon Pickering’s progressively-enhanced inclusive tabbed interface example to Svelte. The project is built using SvelteKit.
Svelte
3
star
22

moderniosdevelopment

Modern iOS Development Workshop Site
3
star
23

fluidium

A Native Mac OS X Browser Platform based on WebKit with a Cocoa plug-in architecture, tab thumbnails, web splitviews, userscripting, userstyles, extensive AppleScript-ability, URL shortcuts, Twitter timelines, Sparkle Update, Growl, JS Dock Badge API, more.
Objective-C
3
star
24

gaebar-functional-tests

This is the functional tests submodule used by gaebar-gaed and gaebar-aep (and, possibly, other test apps in the future). This is _not_ a standalone app, it must be used as a submodule.
Python
3
star
25

playerversion

Shows installed version of Flash player.
JavaScript
2
star
26

sibs

Small Is Beautiful Streamer
Vala
2
star
27

ar.al-site

Mirror of https://source.ind.ie/ar.al/site
CSS
1
star
28

trovedata

The data routines for Trove. Eventually will be merged into the main repository.
Objective-C
1
star
29

express-handlebars-examples

The Tally samples as rendered in Handlebars for comparison.
CoffeeScript
1
star
30

cupper-hugo-theme

The Cupper Hugo Theme, extracted from the Cupper project
HTML
1
star
31

small-is-beautiful-watson-demo

Yay
Vala
1
star
32

tally-hello-badge-1-text-and-attribute

Hello Badge example #1: Demonstrates the data-tally-text and data-tally-attribute attributes.
CSS
1
star
33

simple-demonstration-of-nyc-bug-1281

Demonstrates nyc bug #1281: Regression: coverage using tape works on nyc 14.1.1, breaks on nyc 15.0.0 (reports 0% coverage)
JavaScript
1
star
34

smart-platform

Joyent Smart Platform
Perl
1
star
35

breakingthings

The source for my Breaking Things blog
JavaScript
1
star
36

MssgsApp

An app skeleton for Mssgs
JavaScript
1
star
37

cliui

easily create complex multi-column command-line-interfaces.
JavaScript
1
star
38

friendlyhash

Friendly hash is a Go library which implements human-readable and reversible representation of known-length byte slices. It can be used to represent hashes in a human-readable way.
Go
1
star
39

obs-v4l2sink

obs studio output plugin for Video4Linux2 device
C++
1
star