Get reviews/ratings from Facebook pages without page access token - node.js

I am trying to retrieve reviews from the Facebook page, but unable to get reviews as it required the access token.
Is there any way to get reviews from the Facebook page using page id without page access token?
I have found many questions asked earlier for the same thing but that still won't help me.
I also got the answer to getting reviews using places, can anyone know how to do that?
Or is there any paid service for this?
Checked following links but unable to achieve the correct result that I want:
Facebook Access Token for Pages
Get facebook public page rating and review
Thanks

Is there any way to get reviews from the Facebook page using page id without page access token?
No, there is not.
If you do not have admin access to the page, then you can not access the reviews via API.
Or is there any paid service for this?
Any such service would be in violation of Facebook terms, if they acquired that data via scraping.

Related

How to get instagram access token for app in sandbox mode

Currently when using instagram access token by the url "https://www.instagram.com/oauth/authorize/?client_id=[id]&redirect_uri=http://localhost:3000&response_type=token&scope=public_content" I have such an error
"This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions."
I observed the internet and found that scope query part should be added to the end of API URL. That is how I constructed my url. But as you see it resulted in error.
I tried to find out the reason on app permissions page. There is a button "Start submission". I clicked it and got the list of radio buttons. But when I clicked on " I want to display my Instagram posts on my website." then I got:
You do not need to submit for review for this use case. If you are a developer and you want to display Instagram content on your website, then you do not need to submit your app for review. By using a client in sandbox mode, you can still access the last 20 media of any sandbox user that grants you permission.
So I finally got lost. Looks like the solution is pretty simple because in instafeed.js plugin no more information is provided. But I can not resolve it by myself.
change your scope to basic should work.
The link has 'public_content'
https://www.instagram.com/oauth/authorize/?client_id=&redirect_uri=http://localhost:5000&response_type=token&scope=basic

Receiving "nonexisting field" error when using Instagram API

When using the Instagram API to retrieve basic info about our own business account (/?fields=instagram_business_account) we are returned the following error:
(#100) Tried accessing nonexisting field (business_discovery) on node type (InstagramUser)
Can anyone shed any light on what might be going on here - are we missing some configuration on our side?
Damien
Open Facebook Page
Open Instagram profile and convert business profile
Instagram profile connect to Facebook page
Go to Graph API Explorer
Get token by your app (you have to add manage_pages permission)
Choose Facebook Page
Get "me?fields=instagram_accounts{username,id,follow_count,followed_by_count}"
I ran into a similar issue. Eventually i figured out it i was using the username instead of the business id.
from the API Documentation:
"...Notice that business discovery queries are performed on the Instagram Business or Creator Account's ID ..., not the username of the Instagram Business or Creator Account that you are attempting to get data about..."
To get the Business ID you can use the following query (note that you need to replace your_valid_access_token_here with your valid access token:
https://graph.facebook.com/v3.2/syriancc?fields=instagram_business_account&access_token=your_valid_access_token_here
the json result will look like this:
{
"id": the_actual_id
}

Instagram API to fetch feeds for other users?

I am trying to access Instagram feeds for my user and hence I have created a Access Token as per documentation
https://www.instagram.com/developer/endpoints/
I am able to access my feeds by passing access token over
https://api.instagram.com/v1/users/self/media/recent/?access_token=
However, I would like to fetch other user's feed (read only). So I want to make user as configurable and when I change user, I get respective user's feeds.
Could you please let me know if I have to use different end points?
I have tried
"https://www.instagram.com/v1/users/{user}/media/recent/"
But it is not working and resulting in page not found.
Any help is appreciated.
Regards,
Suyash Bhalekar
If you don't plan to have more than 10 users you can use Sandbox mode. Access token is connected for given Instagram account, not to your entire app. So other users needs to "log in" to your app and approve access to their personal data. Once they do that you receive access token for their Instagram user and you can use /self/media/recent endpoint.
However if you plan to have more than 10 users you need to submit your app for review.

How to get my followers list data in instagram

I am trying to get list of users following me or followed by me on instagram. I have tried the api (https://www.instagram.com/developer/endpoints/relationships/#get_users_followed_by) for getting the information but its returning and blank data array with 200 OK status code. Doesn't find out the solution.
Basically I want to gather to create a daily graph from data.
I have created the app for this where I am the admin and also the sandbox user. Other document said in sandbox mode I can access my data information with scope like follower_list but it still return blank data array.
Anyone can help me to solve this out?
Thanks
In Sandbox mode you will see blank data, you will only see your and your sandbox user's data.
If you add one of your followers to sandbox user (and they accept it), then you will just see that user in API response for followers
From Instagram page:
Starting 10/1/2017, all permissions other than the basic permission
will be unavailable to submit for or obtain.
Instagram only approve the basic scope. Check out the new Instagram Graph API.

Instagram hashtag search permissions

I downloaded a jQuery plugin a while back that worked really well in displaying posts from a particular hashtag from instagram. Since the recent updates to instagram, the hashtag search returns an error
“This client has not been approved to access this resource.”
I have been told that I need to get permission to now access a specific hashtag, but since this is not an app and I am not the developer, how do I go about doing that specifically?
You have to have access to Instagram account otherwise you cannot do anything.
By the way, you have that jQuery plugin? Maybe I can take a look at it and help you with that.
To get this level of information you will need a developer account with Instagram and then get the appropriate token for accessing this information through the API. The scope will need to set correctly during the oauth2 generation of the token, it will probably need the "public_content" scope.

Resources