Troubleshooting
If you run into trouble with Ayrshare.
Sometimes things don't go right, and that is where a troubleshooting guide comes in. If you don't see your issue here or you can't solve it, please either chat with us or email us.

Errors Linking Facebook or Instagram

If you're having issues linking your Facebook or Instagram accounts, a few potential issues might be the cause
Recently created Facebook Pages or Instagram accounts often have trouble posting. You might get this error:
Ayrshare could not be linked to Facebook. Maybe you're out of network connection or we couldn't establish a connection to our server. Check your connection and try again later.
Facebook tries to prevent spam and new accounts are considered higher risk. We suggest only linking accounts over 7 days old.

Re-verify Facebook Login

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.

Facebook or Instagram Account is New

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.

Your Instagram Account Must Be a Business Account and Linked to a Facebook Page

Please here for details:

Errors linking Google My Business

You must claim your Google My Business page before linking it with Ayrshare. Be sure to choose the Google account that is an admin of your GMB page during link authorization.
See our article to learn more about Google My Business.

Trouble Posting to Facebook

If you receive an error when posting about Facebook 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.
Log into Facebook and go to the "Setting" -> "Settings & Privacy" -> "Security & Login" -> "Business Integration".
On the Business Integration page, click the Ayrshare App.
Facebook Ayrshare App
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
Click "Save".
Head back to the Ayrshare Dashboard and unlink and relink Facebook. You should now have the correct permissions.

Trouble Posting to Instagram

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
or
There is an issue with your Instagram account type or permissions.
Take the following steps:

1. Verify Your Instagram Business Account is Connected to a Facebook Page

Make sure your Instagram is a Business account and it is connected to a Facebook Page.
  1. 1.
    Login to Facebook and navigate to your Facebook Page. Click 'Settings' from the left-hand menu on your screen.
  2. 2.
    Select "Instagram" and verify your Instagram account is linked or by click "Connect Account".
  3. 3.
    Unlink and re-link your Instagram account in the Ayrshare Dashboard under "Social Accounts".
Connect Instagram to Facebook
See here for more details:

2. Check your Instagram Permissions

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
Click "Save".‌
Head back to the Ayrshare Dashboard and unlink and relink Instagram. You should now have the correct permissions.

Post with @mentions didn't go through

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.

Errors making requests with the API

A few things to check to verify you have all the required information to successfully post, or call any API endpoint.
  1. 1.
    Verify you are sending the API_KEY, found in the Ayrshare GUI dashboard under API Dashboard, in the header as an Authorization Bearer token. Also the proper Content Type must be set.
  2. 2.
    For POST calls, validate properly formatted JSON is being sent in the body. Online tools can assist: https://jsonlint.com/​
  3. 3.
    If sending media via an external URL, make sure the proper MIME type is set for the image or video.
  4. 4.
    Review the required endpoint's required parameters to be sure they are included and have the proper format.

Get an Unsplash Image URL

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

Twitter Link Preview Not Showing

When a link is included in a post, Twitter tries to render a preview. Twitter meta tags on your site/page in the header are used to render the preview text, image, and link.
You can validate how the Twitter card will look by submitting your page link here:
https://cards-dev.twitter.com/validator
cards-dev.twitter.com
Twitter Card Validator
If everything looks ok, but the preview is still not showing, please contact us for assistance.

Why Does Facebook show "Published by Ayrshare"?

The "Published by..." is not displayed to your Page visitors, only to admins 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 see here on how to view a Page as a visitor or view the page in a Private/Incognito tab in your browser.

Response Returns as "Bad Request"

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:
1
{
2
"post": "A great post"
3
"platforms: ["twitter"]
4
}
Copied!
A response of "Bad Request" will be returned. The code above has two issues: a missing comma on postand a missing end quote on platform. The valid JSON should be:
1
{
2
"post": "A great post",
3
"platforms": ["twitter"]
4
}
Copied!
You can test your JSON by POSTing to the following URL to validate your JSON. Be sure to set the Content-Type to text/plain.

Validate JSON

You can validate your JSON by using either an online linter, such as https://jsonlint.com/ or using Postman.
or our validateJSON endpoint:
post
https://app.ayrshare.com
/validateJSON
validateJSON
1
const fetch = require("node-fetch");
2
​
3
fetch("https://app.ayrshare.com/validateJSON", {
4
method: "POST",
5
headers: {
6
"Content-Type": "text/plain",
7
},
8
body: JSON.stringify({
9
post: "Today is a great day!", // required
10
platforms: ["twitter", "facebook", "instagram", "linkedin"], // required
11
mediaUrls: ["https://images.ayrshare.com/imgs/GhostBusters.jpg"], //optional
12
}),
13
})
14
.then((res) => res.json())
15
.then((json) => console.log(json))
16
.catch(console.error);
Copied!

Facebook Translation Wrong

Facebook attempts to translate posts into the local language of the viewer. Sometimes the translations are incorrect.

Turn Off Automatic Facebook Translations

You can turn off automatic Facebook translations of posts by going to facebook.com:
  1. 1.
    Click
    in the top right of Facebook.
  2. 2.
    Select Settings & Privacy, then click Settings.
  3. 3.
    Click Language and Region.
  4. 4.
    Click Languages you don't want automatically translated.
  5. 5.
    Search for the languages you don't want to be automatically translated, then click to select the language.
  6. 6.
    Click Save Changes
Please see here for more info: https://www.facebook.com/help/894653377249514​
​
Last modified 29d ago