Topic-icon Instagram permissions

Active Subscriptions:

None
1 year 9 months ago #68144 by [email protected]
Hi,

When adding instagram as a provider. The username,account type are requested. i would like at add my own permissions. like what you can do for the facebook provider. How is this possible?

Many thanks in advanced.
The topic has been locked.
Support Specialist
1 year 9 months ago #68170 by alzander
Replied by alzander on topic Instagram permissions
I'm assuming you're looking to add the user_media scope, as that's the only other one I know of. We don't have an option to set that as a configuration option. You'd need to make an edit to one of our files. To do so, edit the /plugins/jfbconnect/provider_instagram/profile/instagram.php file. Around line 28, you'll see:
return ["user_profile"];
Update that to:
return ["user_profile","user_media"];

With that said, please note a couple of items:
* Facebook does not recommend using Instagram for general user authentication. They want you to implement Facebook's authentication instead. While they still allow Instagram authentication, they could remove that functionality at anytime or reject your application for using it. We leave Instagram authentication for user's that have had it implemented for years (before Facebook changed their recommendations), but don't recommend using it for general users.
* If you're using the Instagram login for your own personal (admin) account, that's acceptable. With the user_media permission, you'd be able to pull in your own photos/videos and display them however you want. However, we don't have any functionality that will implement that import/display built-in to JFBConnect.

Finally, please note that you will need to get approval from Facebook to use the user_media property before users can grant it.

I hope that helps, but should you need anything else, please let us know.

Thanks,
Alex
The topic has been locked.