If you run into trouble with Ayrshare: Linking Facebook or Instagram, posting, connecting Twitter, mentions, or other questions.
If you're having issues linking your Facebook or Instagram accounts, a few potential issues might be the cause
Facebook is asking you to verify your account login again.
Open a new tab/window in your browser and go to facebook.com. Log out of Facebook and login once more. If you're asked to verify your account or a CAPTCHA question, please complete it.
Head back to the Ayrshare dashboard Social Accounts page, refresh your page, and try linking Facebook once more.
Note: Please be sure that a Facebook Page is linked with your Facebook account. This is require to link to Facebook and you will be asked to select the Page to link and post.
If you receive the error: "Could not link Ayrshare to Facebook. You may not be connected to the network or we could not establish a connection with our server. Check your connection and try again later."
Facebook Connection Issue
The cause might be you're using a newly created Facebook or Instagram account. Facebook states that "There is a 60-minute delay before new accounts can log in to any applications".
Please wait 60-minutes and try again.
Please here for details:
You can verify if your Instagram account is a Business Account by going to your Instagram mobile app and clicking the three bars in the upper right corner. Select "Settings" and then "Account".
At the bottom of the screen there may be a link "Switch account type". If not, please see the link Instagram Linking above for instructions. Click "Switch account type" and you should see the following if a Business Account:
This account is Instagram Business
If you see the above image, your account is Business and no changes are needed. If you have the option to switch to a Business Account, please choose it.
If you receive an error when posting about Facebook permission issues or you don't see a Facebook Page listed it could be some access permissions were not granted.
Log into Facebook and go to the "Setting" -> "Settings & Privacy" -> "Security & Login" -> "Business Integration".
On the Business Integration page, click the Ayrshare App and choose "View and Edit".
Ayrshare App in Facebook Business Integrations
A pop-up will show. Scroll down to "Create and Manage Content on Your Page" and ensure that it is enabled. If you see a checkbox with "Pages" then check it to select all pages.
Allow access to all Facebook Pages
If you receive an error when posting about Instagram permission issues or that your account isn't linked, even though you linked your Facebook account, it could be some access permissions were not granted.
For example, if you receive the errors:
Unsupported post request. Object with ID [id number] does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation
There is an issue with your Instagram account type or permissions.
Take the following steps:
Make sure your Instagram is a Business account and it is connected to a Facebook Page.
- 1.Login to Facebook and navigate to your Facebook Page. Click 'Settings' from the left-hand menu on your screen.
- 2.Select "Instagram" and verify your Instagram account is linked or by click "Connect Account".
- 3.Unlink and re-link your Instagram account in the Ayrshare Dashboard under "Social Accounts".
Connect Instagram to Facebook
See here for more details:
If the issue is still persists, check your permissions granted to Ayrshare.
Login to Facebook and go to the "Setting" -> "Settings & Privacy" -> "Security & Login" -> "Business Integration".
On the Business Integration page, click the Ayrshare App.
Business Integrations Ayrshare App
A pop-up will show. Scroll down to "Upload media and create post for Instagram" and "Access profile and posts for Instagram". Check both the boxes "Instagram Accounts":
Upload Instagram Permissions
Access Instagram Profile Permissions
Head back to the Ayrshare Dashboard and unlink and relink Instagram. You should now have the correct permissions.
The social networks are very particular on the frequency of @mentions and who is mentioned. The Free Plan does not allow mentions and will not send your posts.
Paid plans allow mentions, but the same mention can not be used twice within a 3 day period.
A few things to check to verify you have all the required information to successfully post, or call any API endpoint.
If you receive an Instagram or Facebook error: "Unsupported request - method type: post" this could be due to a bug at Facebook. A possible fix is enabling the Facebook Off-Facebook Activity feature and then reconnect Ayrshare with Facebook.
The Off-Facebook permission allows other websites to publish on your or your users' behalf.
Please see the following steps to correct.
- 3.Verify off-facebook is toggled on. If off, please turn on. Otherwise, if on please toggle off and then back on.
- 5.When relinking, be sure all permissions are granted.
If copying an Unsplash URL to post in
media_urls, please be sure to copy the image address.
Click on the Unsplash image you want to copy, right click the image, and select "Copy Image Address".
Get the Unsplash Image URL
You can validate how the Twitter card will look by submitting your page link here:
If everything looks ok, but the preview is still not showing, please contact us for assistance.
The "Published by..." is not displayed to your Facebook Page visitors, only to administrators ("admin") of the Page.
In the Facebook admin view of a Page the source of the post is shown, for example "Published by Ayrshare". Facebook automatically adds this meta data in the admin view.
Please note: Facebook Group posts do show the source and will say "Ayrshare" in small lettering. This is automatically done by Facebook.
If you receive HTML as a response of "Bad Request" instead of JSON, it is possible the POST body parameter is not valid JSON.
For example, if you send this invalid JSON:
"post": "A "great" post"
A response of "Bad Request" will be returned. The code above has three issues: a missing comma on
post, the post text has a double set of " quotes without escaping, and a missing end quote on
platform. The valid JSON should be:
"post": "A \"great\" post",
You can test your JSON by POSTing to the following URL to validate your JSON. Be sure to set the Content-Type to
or our validateJSON endpoint:
const fetch = require("node-fetch");
post: "Today is a great day!", // required
platforms: ["twitter", "facebook", "instagram", "linkedin"], // required
mediaUrls: ["https://images.ayrshare.com/imgs/GhostBusters.jpg"], //optional
.then((res) => res.json())
.then((json) => console.log(json))
If you receive a 504 HTTP error with a "Bad Gateway" message, or timeout, and are trying to post a large media file, please try sending the post as a scheduled post with a
scheduleDateinstead. See the /post endpoint for details.
You many also try using the experimental (beta) endpoint:
for longer timeouts.
Facebook attempts to translate posts into the local language of the viewer. Sometimes the translations are incorrect.
You can turn off automatic Facebook translations of posts by going to facebook.com:
- 1.Clickin the top right of Facebook.
- 2.Select Settings & Privacy, then click Settings.
- 3.Click Language and Region.
- 4.Click Languages you don't want automatically translated.
- 5.Search for the languages you don't want to be automatically translated, then click to select the language.
- 6.Click Save Changes
Facebook suspends accounts or marks posts as violating their community standard when their security AI is triggered. The reasons are often unknown, but can occur when the user changes their password at Facebook, posts a message manually to their feed or Facebook Messenger, or the security AI sees suspicious activity on the Facebook account. Sometimes posts are flagged by Facebook even when the post is seemingly innocuous, but the security AI sees the post as spam or other users have flagged similar post.
Often these issues occur outside of a post that went though Ayrshare.
- 2.Have the user log into Facebook and check if Facebook asks them to take any actions or provide more information. If everything looks ok, the user can try relinking Facebook with Ayrshare and posting again.