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

https://github.com/ranjancse26/reactnodefacebooksharing

React and Node.js based Facebook Sharing App
https://github.com/ranjancse26/reactnodefacebooksharing

expressjs facebook nodejs reactjs webpack

Last synced: 3 months ago
JSON representation

React and Node.js based Facebook Sharing App

Awesome Lists containing this project

README

          

# React Facebook Sharing -

> Collection of React based Components for Facebook Sharing

## Getting Started

```shell
git clone https://github.com/ranjancse26/ReactNodeFacebookSharing.git && cd ReactNodeFacebookSharing
```

## Development

First do an npm update and then

```shell
npm start
```

- navigate to [localhost:8080](http://localhost:8080)

## How to use

### Basic
```js
import FacebookLogin from '../src/facebookLogin';
import FacebookShare from '../src/facebookShare';
import FacebookPrivateMessage from '../src/facebookPrivateMessage'
import InvitationEditor from '../src/invitationEditor'

class Base extends Component {
render() {
var editorDefaultValue =
"Dear ---------,\n\nYou're an amazing person --------- and even more\nimpressive engineer and innovator.\n\nYou are so good at ---------,\n\nSo join me on Collaborizm!\n\nSincerely,\nSteve";

return (





















);
}
}

const responseFacebook = (response) => {
console.log(response);
};

ReactDOM.render(
,
document.getElementById('demo')
);
```

Custom element example:
```js

import FacebookLogin from '../src/facebookLogin';
import FacebookShare from '../src/facebookShare';
import FacebookPrivateMessage from '../src/facebookPrivateMessage'
import InvitationEditor from '../src/invitationEditor'

```

## Reused code

Note - The Facebook React Login component is reused from
https://github.com/keppelen/react-facebook-login