Setup/Installation: Facebook - Social Networks AutoPoster (NextScripts API)

NextScripts API for Facebook Configuration

NextScripts API for Facebook could be used instead of official native Facebook API.

NextScripts API for Facebook could post:

1. Facebook Profile.
2. Facebook Pages (all kinds).
3. Public Groups. User should be at least a member of the  group.
4. Closed Groups. User should be at least a member of the group.
5. Secret Groups. User should be at least a member of the group.

You can either use username/password or Session Info to connect your site to Facebook

***Facebook Premium API for WordPress requires SNAP WordPress plugin version 4.2.7 or later.

If your server is located too far from your regular Facebook login location, facebook may find your new login suspicious. This is why we have two different ways of authorization. If Facebook finds login with username/password suspicious, please try session or if you got “Location Block” from session usage, please try username/password.

From FAQ:

Question:
I got message from Facebook saying “Your account was accessed from some remote location”, was that you?

Answer:
All our scripts are installed on your server and your server makes posts to your networks directly. When you make a post your server logins to your account on your behalf and makes a post. The location in the email that your account was accessed from is a location of your server.

Please confirm that it was you. It might take several times and then Facebook will stop asking.

Alternatively please try to use session instead of username/password or vise versa.

Connect with your username/password

1.1. Login to your WordPress Admin Panel, Go to the “SNAP|Autoposter” menu on the left panel -> Accounts.
1.2. Click green “Add new account” button, select “Facebook” from the list.
1.3. Select NexctScripts API from the dropdown.
1.4. Select “Use Username/Password”.
1.5. Enter your Facebook Username and Password

setup-ig-004

1.6. Click [Add Account] 1.7. Find your new account in the list and click [Show Settings]. Notice new “Where to Post” dropdown showing your profile, pages and groups. Select one of the pages or groups and click “Update Account Info”.

 

[Alternative connection option] Connect using User ID and Active Session ID


1.1. Login to your WordPress Admin Panel, Go to the Settings->Social Networks AutoPoster Options.
1.2. Click green “Add new account” button, select “Facebook” from the list.
1.3. Select NexctScripts API from the dropdown.

setup-ig-004


How to get user ID and Session ID

We recommend you to open an "Incognito" window in your browser, login, get a session ID and close the window. Then you can open another "Incognito" window for the next account. Just please don't ever click "logout" button.

2.1. Open new "Incognito" (Chrome), "Private" (Firefox) or "InPrivate" (MS Edge) window and login to your Facebook account.
2.2. Open Development console. Press F12 or do a right-click and select "Inspect" or "Inspect Element" from the menu.
2.3. Open a tab with stored page items. That tab called "Storage" in Firefox, "Application" in Chrome and "Debugger" in MS Edge.
2.4. Click on "Cookies", then on "https://www.facebook.com/"
2.5. Find a cookie with the name "c_user". Double click on the value and copy it.
2.6. Paste c_user value to the "Facebook User ID (c_user)" field in the plugin.
2.5. Find a cookie with the name "xs". Double click on the value and copy it.
2.6. Paste xs value to the "Session ID (xs)" field in the plugin.
2.7. Close that Incognito/Private/InPrivate window. [VERY Important] Please DO NOT logout from Facebook before closing that window.
Google Chrome:
setup-ig-004
FireFox:
setup-ig-004
MS Edge:
setup-ig-004
2.7. Save Settings.
2.8. Plugin will retreive the list of your pages and groups. Please select your profile, page or group from the list or enter the custom page/group ID or URL.
setup-ig-004

You are done setting your SNAP Wordpress plugin.


[VERY Important] Please DO NOT logout from Facebook in the browser where you got the session. You can close the browser, but don't click "Logout" button. Logout will destroy the session and autoposting will stop working. You will need to get a new session ID if you logout. The best way to get a session is to do that from "Incognito" window.
If you need to set several different accounts, you can open an "Incognito" window in your browser, login, get a session ID and close the window. Then you can open another "Incognito" window for the next account. Just don't ever click "logout" button.

Universal and Premium API for PHP

[Please Note]This part is NOT for WordPress plugin. This part is ONLY for plain PHP Developers who are using SNAP Universal and Premium API for PHP

Add this to your code right after you initilize the class:
$nt->sid = array('cn'=>$ValueFromTheUserIDCookie,'xs'=>$ValueFromTheCookie);
$ValueFromTheCookie must contain the "xs" value that you got from the instructions above.
$ValueFromTheUserIDCookie must contain the "c_name" value that you got from the instructions above.

SNAP Pro for Wordpress

Pro version upgrade adds the ability to configure more than one account for each social network and some additional features.

Get SNAP Pro

Latest Blogposts

Corrupted cache issue with SNAP Pro.

Corrupted cache issue with SNAP Pro.

What happened? SNAP Pro is checking for API update every 6 hours. Today (May 22, 2019) around 6:30PM EST Google Cloud messed our update server for about 7 minutes. A bunch of "lucky" sites that were checking for update during those 7 minutes got their plugin cache...

Support for “Google My Business” is coming soon…

Support for “Google My Business” is coming soon…

Support for "Google My Business" is coming this fall. Google recently made some kind of blog-a-like functionality available for local business listings. As a local business owner you can add posts, events, offers as well as products to your business listing. Although...

Facebook app review

Facebook app review

We are getting a lot of questions about upcoming deadline for Facebook app review. People are asking what should we do. The honest answer would be: "No one has any idea". We submitted several apps for Facebook review using different ways of describing and explaining...

What happened with Facebook

What happened with Facebook

What happened with Facebook? Facebook made changes to it's API access policy on May 1st, 2018. As the result we introduced our own Premium API for Facebook.  We feel that we need to explain how exactly those changes affected SNAP. Since the beginning Facebook native...

Instagram issues

Instagram issues

Instagram made some very big changes to authentication process. About 70% of our users are affected by them. Before the changes the process was quite simple: Sometimes Instagram decided that login from SNAP is "unusual" and asked for confirmation. You just had to open...

SNAP for Wordpress

SNAP for Wordpress

SNAP for Wordpress MultiUser

SNAP for Wordpress MultiUser

SNAP API

SNAP API