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

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

Related

How to get profile picture in Instagram Conversation List response?

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?

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.

Configure Branch SDK with Landing page, track attribution through install

Can the Branch SDK track installs to the inviting user through an intermediate landing page?
In my Unity based game I'm setting up a social share button on the game's splash page. When the user share's the game with someone by default the branch SDK would send the invited prospect directly to the Apple app store to install the app. Instead I want to send the prospect to a Landing page so that we can A/B test content and optimize installs.
Thus I want to track install/play back to the original inviting user. Is this possible? If so, how is it configured.
TIA,
~eric
You can do this by setting custom link properties when you create the share link. For example, you can set $fallback_url as a link property when creating the linkproperties object
linkProperties.controlParams.Add("$fallback_url", "http://example.com");
When you use this with sharelink the link created will navigate to the fallback_url instead of the app / play store.

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

Facebook API with iphone

am new to iphone technology and i have been allocated on a project where i will be using an API of facebook so i have downloaded the facebook api from this link http://github.com/facebook/facebook-ios-sdk
and i read its documentation where i got confused this is what i want to do:
1) The image from the UIImageView must be posted by the user to his facebook album, and that album will be selected by the user from his/her account.
2) The user can add comment on that photo which he/she added.
3)Logout logic
But when i draged and droped the FBConnect folder, in the documentation its said that i have to set the header but how and what to set in the header i am not aware of that, also when i tried to do login with the appID and appKey which i generated from Facebook developers its not helping me at all
Please help me out, am confused on this topic completely, if you provide me some snaps of the source code or some links then it would be very nice of you
You might consider using ShareKit. It has made connecting to Facebook easier for some developers. You can find it at this link: http://www.getsharekit.com/