An open API service indexing awesome lists of open source software.

https://github.com/yutasugimura/react-native-signin-with-twitter-example

A React Native app demonstrating the implementation of 'Sign in with Twitter' using Twitter's OAuth API.
https://github.com/yutasugimura/react-native-signin-with-twitter-example

oauth1 react-native react-native-quick-crypto sign-in-with-twitter

Last synced: 9 months ago
JSON representation

A React Native app demonstrating the implementation of 'Sign in with Twitter' using Twitter's OAuth API.

Awesome Lists containing this project

README

          

# React Native SignIn With Twitter Example

This repository contains a React Native project that demonstrates how to implement 'Sign in with Twitter' functionality using Twitter's OAuth API.

![sample](./resource/signin-with-twitter.gif)

### Installation

1. Clone the repository

```zsh
git clone https://github.com/YutaSugimura/react-native-signin-with-twitter-example.git
```

2. Install the dependencies

```zsh
yarn install
npx pod-install
```

3. Add your Twitter API keys to the `.env` file:

```zsh
cp .env.local .env
```

```zsh
TWITTER_CONSUMER_KEY=your-consumer-key
TWITTER_CONSUMER_SECRET=your-consumer-secret
```

4. Run the project:

```zsh
yarn start
```

## References
- [Twitter Developer Platform (Authentication)](https://developer.twitter.com/en/docs/authentication/oauth-1-0a/obtaining-user-access-tokens)

## License

This project is licensed under the MIT License