How to get profile picture in Instagram Conversation List response? - api

I'm trying to get a list of conversations on the Instagram business account and it works fine. But I cannot find the way how to get a user profile picture (or chat picture) as a chat picture. Also, I tried to get profile_pic via User Profile API and got a problem "(#230) User consent is required to access user profile". My Facebook app is still in development mode. Is there a way to do it?

Related

can I show Instagram's business account's media in a react native app?

I want to show my own business instagram account's photos in a react native app, user dont need to sign-in to watch those images. I only want to fetch a few images and show them in a list, if the user clicks on them he will be redirected to the insta app. If anybody know how to fetch images please tell in detail. I have tried facebooks documentations but they are difficult to follow.

The ID given by the Facebook Graph API is not the same as the Profile ID [duplicate]

I’m building a react native app and I’d like the user to be able to share their facebook profile. Is there a way, using the facebook api or sdk, to give another user a link to view someone else’s facebook profile?
https://developers.facebook.com/docs/graph-api/reference/user/#fields:
link
string
A link to the person's Timeline. The link will only resolve if the person clicking the link is logged into Facebook and is a friend of the person whose profile is being viewed.
You’re gonna need user_link permission, https://developers.facebook.com/docs/permissions/reference/user_link

Firebase's Google Authentication User Object returns profile path with 404 response

Am using Firebase Google Authentication in my App. If the user does not have a profile image, Google used to return a dynamic picture, made up from the user's first or last initial, or digraph where applicable, all depending on each person's name structure.
Eg : If the user name is Jack and he does not have profile picture the
URL will return this image.
But Past few weeks the Url Returned by the method
FirebaseAuth.getInstance().getCurrentUser().getPhotoUrl(); is a 404
page.
Because of this am getting Exceptions in Glide app. I need an image as above as my App is a conversation app, Which will help users to identify easily if they dont have a profile image. Please let me know if google changed the way accessing the image or it stopped permanently. Also provide me any alternatives to get this above image.

Can we authenticate facebook user which view page in UIWebView?

I work on application which provide bonus content for certain actions Facebook Share, Facebook Like of our page and etc.
I have problem with Facebook Like, as we know Facebook SDK ToS don't allow us (developers) to programmatically like Facebook page, so I have two ideas
Open the native Facebook APP, which is straight forward.
UIWebView within' our APP. But here is the problem
How to authenticate the user in facebook, to skip the inconvenience of double login. (The first time is within' our app, to be able to fetch the result of /me/likes/(id))?
I also faced the same problem for liking pages
i found this
https://github.com/brow/FacebookLikeView it is very help full go through this it shows how to like face book pages by using web view
hope this helps

How do I post in facebook a big image on a friend's timeline without using sdk feed dialog

I have an app that lets the user create a custom-made greeting card (a big image) and send it to a facebook friend who has their birthday / another occasion on that day.
I want to allow my user to post the generated greeting card image on the other friend's timeline.
Since feb 2013, developers are not allowed to post on other user's wall using /feed (stream.publish), the documentation states it is only allowed using the feed dialog (sdk pop-up).
How do I allow a user to post a big image on a friend's timeline from an iOs app without using the sdk's send dialog?
Due to the Recent Changes of Facebook Graph API you can't do this anyway without using the Feed Dialog .