okay...
I am implementing facebook in iphone..
In that i want to open a specific profile in the facebook..
do anyone know how can i do it using graph api??
It's simple trick to get the profile of a specific person. Instead of passing me/feed pass the specific person ID as eg. 1234567/feed you will get his profile details
Related
I have been using Factual Places & Crosswalk API to get Social Media links on some specific places on my iOS app. The API returns proper links for Facebook & Twitter. But for Instagram it just return an id, something like this 79471948.
I was wondering how I can make use of this id. I thought I could use it in a URL, something like this. http://instagram.com/79471948, But this does not exists.
Then I thought the id could be a user-id. If it is a user-id I wanna get the username of the corresponding user-id so that I open his profile page something like this http://instagram.com/79471948. But as we know that Instagram does not allow us to directly request for User Data without OAuth we can't get access token. Without getting access token, I cant get the username.
So do you guys have any suggestions? So the whole thing is, I have this id 79471948 and I wanna open up the corresponding profile without doing any OAuth.
Thanks in Advance.
You have to use API to get the user profile from user-id.
https://api.instagram.com/v1/users/{user-id}/media/recent/?access_token=ACCESS-TOKEN
https://www.picodash.com/# allows you to search for a user-id and view the full profile or open actual instagram.com/username link and view.
I'm using Impactworks graph handler to get my facebook posts successfully.
http://blog.impact-works.com/2011/07/01/importing-user-info-using-facebook-graph-api-asp-net-part-1/
But how do I get another users posts from their wall? Do they just need to add my app to their facebook?
Do they just need to add my app to their facebook?
Yes. But, you can get the public posts simply using:
/USER_ID/posts
/PAGE_ID/posts
, even if the user is not using your app.
Is there any way to add Facebook Cover Photo to the user profile using PHP API.
I tried, but I can only upload the image to user album or photos section. I cant able to update the my app register user cover photo.
How could I do this. Help me.
Thanks in advance
Actually it's not possible directly via Graph API
In my website if i use the open graph api can I track who is coming into my website
(I mean to say the person's Facebook profile Id)
thanks
No, you can’t. You can only get the actual user if he has connected to your app first.
I've created a small facebook application that posts a link to the user's profile. I want the link to reference my application with a certain querystring for me to know what data to present him.
Is it possible? how can it be done?
Thanks!
use normal get parameters in the link