-----------Steps to get started on FACEBOOK --------------
1.Go to facebook developer page using below link:-
https://developers.facebook.com
-
Cick
Log InButton and login to your facebook account. -
Cick on
Get startedbutton and follow the instructions,to register as a developer. -
Now you need to create a new app, this is done by selecting
My Apps. -
In the app dashboard go to
Settings-->Basic. -
In order to disable sandbox mode, you will need to fill in
Display name,Contact Email,Privacy Policy URLand save changes. -
Note: In order to post in timeline, you will have to review your app by completing
App Review. and afterApp Reviewchange status of the app to live. If you are using this application as a personal project you can managing pages and post on pages where you have administrive privilage. -
Copy
App Id,App SecretandDisplay NamefromSettings-->Basicand paste in.configfile --> fieldsclient_id,client_secretandnamerespectively. -
Add your Page name to which you would like to post in
.configfile -->page_name. -
In facebook developer page go to
Tools-->Graph API Explorer-->Get Token-->Get user access Token.
11.Select publish_pages, manage_pages,
and click on Get AccessToken. Give permission to the page you
would like to post on.
-
Open appWindow.py click on
+-->Facebook. If facebook is disabled skip to Step 16 -
Log into Facebook the first time with your credentials, grant permission to the eairlier specified page.
-
Copy
urland paste onEnter Pinfield and click ADD. -
You only need to do Step 12, 13, 14 once every 2 months.
-
Type you mesage on the message box, select
Facebookfrom checkbox and Press Send to send the message.
-----------# Steps to get started on Twitter # --------------
How to set up twitter for tweeting through spread.io
- Go to Twitter developerPage
- Set up a new app
- Go to:
Twitter Apps->Create New App->Leave Callback URL empty->Create your Twitter application. - You should see "Your application has been created. Please take a
- moment to review and adjust your application's settings".
- By default, app's access level is read-only. To send out tweets, it requires write permission.
- Go to:
Permissions tab-> What type of access does your application need? -> ChooseRead and Write->Update settings. You should see "The permission settings have been successfully updated. It may take a moment for the changes to reflect."
- Go to:
Twitter Apps->select your app->Dashboard->.Keys and TockensFrom this page, note down the Consumer Key (API Key), Consumer Secret (API Secret). Consumer Key/Secret help twitter identify the app and Access Token/Secret help twitter identify the user (that is you). - Paste Consumer Key, Consumer Secret in the fields given in .config file.
- Open appWindow.py click on
+-->TWITTER. - If you are at first time. You got a webpage and request to login twitter.
- After login click on button Authorised and copy the Authorised pin
- Past the pin in
Enter Pinfield and click ADD. - Type your message on the message box, select
Twitterfrom checkbox and Press Send to send the message.
-------------------# Thank You #------------------------------