I have implemented the socialAuth library.But my problem is i cannot retrieve complete profile details.Is there any way to retrieve it?
Now SocialAuth lib is depreciated.You wont get complete profile details because now social media has improved their security.But you can try it by making profile details as public(goto profile setting and make certain detail public like birth date etc)
Instead of socialAuth try official SDk
Related
How to get Facebook friends's phone, email, address and others friends detail information use Facebook Android SDK 4.4 .
Now I can only get firends id and profile picture by use https://graph.facebook.com/me/taggable_friends? access_token
Sorry dude you cant!
Facebook's new API dosent allow you to take any information such as email,phone number etc
The only chances are
1. me/taggable_friends - Where you can get an Id for tagging your friends and profile picture ( your friends must also use the same app I think)
2. me/invitable friends - This one is for games only to invite people into
your game
I am unable to find the exact link for you but I've read it in developers.facebook itself.
Here is the changelog
How to get feeds(photos only) of a certain Facebook page via Facebook API for android?
is there a straight forward method for that.
Exactly what I need is an activity that shows feeds of photos from a certain page. that why I think this doesn't require login' in. Can I do that? and HOW?
For a page, whose photos are public you can fetch them without login without any access token, using /PAGEID/photos. For eg: http://graph.facebook.com/cocacola/photos
If you want the public feeds pf a page, you can fetch them too, without the login using the App Access Token, which you can get using the \GET request to :
/oauth/access_token?
client_id={app-id}
&client_secret={app-secret}
&grant_type=client_credentials
and use this token to query the feeds using /PAGEID/feed. For Eg: http://graph.facebook.com/cocacola/feed?access_token=APP_ACCESS_TOKEN
(I think you need the Photos not the Feeds; to which you are saying Feeds of Photos)
If you are new to facebook integration: How to Integrate Facebook Connect with Android
Try using graph api
http://graph.facebook.com/pagename?fields=photos.fields(images)
For more options check the docs
I am developing android application and want to use twitter log in and import contact list from twitter. i am using twitter4j library and i can log into twitter via android app.i want to know how to import contact list from .
You will have all the followers Ids from below api,
https://api.twitter.com/1/followers/ids.json?cursor=-1&screen_name=patel
And than you can get info of all that followers from this api,
https://api.twitter.com/1/users/lookup.json?user_id=401702563,1013369934,....
But, these apis will be deprecated by Twitter from March,2013. Rather this, You can try Twitter api version 1.1.
Refer this link for that.
I want to read my friends posts (feeds?, all posts but for a specific user only) from his user wall.
I need all (posts, feeds, statuses) that i see when i look at his page directly from the website.
I use the android sdk and i tried the graph api and rest method.
My app is registered and i have logged in facebook to get the access token (permission: read_stream)
but i dont get that infos that want to.
Please help.
Thx.
How about testing your Graph API call in the Graph API Explorer?
https://developers.facebook.com/tools/explorer/
In my case, I could get my first 10 friends' feed (wall) with the url https://graph.facebook.com/me?fields=friends.limit(10).fields(feed)
Note that I used field expansion of the Graph API.
http://developers.facebook.com/docs/reference/api/field_expansion/
You need them to actually use your app and grant full permissions via the graph API.
You cannot simply 'grab a friends wall'. You must do that via your app and it needs the permissions to do so from the user in question.
I am using the facebook API in my app, i know how to post message on wall. my requirement is, i want read the wall information of user recent status information through code .
How can i achieve this...
for example. from my facebook account i want to get the latest status information.
Here's a great example of using the GraphAPI to do that
https://graph.facebook.com/me/feed?access_token={}
Try it out here: https://developers.facebook.com/tools/explorer
EDIT
I stumbled across this the other day. There's a connection from the user object called statuses, which filters the stream even more than feed. As with many graph calls, you can add ?limit=N to limit the result set. So this new way I discovered would look like:
https://graph.facebook.com/me/statuses?limit=1&access_token={}
You should use a third party API such as Easy Facebook SDK. It allows you to do what you are trying to do with ease.
U should check it out here:
http://developers.facebook.com/blog/post/385/