Invite Facebook friend using SLRequest class - facebook-graph-api

I want to invite user's friend using SLRequest class of ios 6.But I am not getting what will be the exact url and parameters of in graph api?
I am using same code as described in Fetch Facebook friend list using SLRequest in ios 6.0 to fetch friend list. Now I want to integrate the invite friend functionality.
I don't want to use facebook sdk as I already have code using social kit of ios 6.
Thanks

Related

How to get friend list using facebook graph api version 3.3?

I have access-token and using 3.3 version of facebook graph API. I am unable to get the friendlist of user. Can somebody help me to get friend list of person so that I can send them an invitation to install my app.
If it´s a game, you can use the Game Request dialog: https://developers.facebook.com/docs/games/services/gamerequests/
If not, use one of the Sharing Options described in the docs: https://developers.facebook.com/docs/sharing/
There is no way to get the friends with the API anymore, you can only access friends who authorized your App too - with the user_friends permission.

invite friends via web portal in V2.0

I have a question regarding invite friends via web portal in V2.0
I have designed a website, where I have given a functionality to login through facebook.
If the user's logs into the website we get his friend-list for user's those are not using our application on facebook.
We have given the invite friends functionality to invite his(user's) friend to join our site using send dialog box.
I have implemented it in V1.0 but as I move to V2.0 I am facing problem in invite friend as follows. I am using Taggable friend's API.
I am not able to get the user's friend's USER-ID so that it can appear in TO field of send dailog box
In v1 I am able to get USER-ID but In case of V2.0 I'm getting some alph-numeric value
So in that case I'm getting Invalid parameter error for USER-ID
So My question is whether I'm doing some thing wrong or You havn't given the support for this yet.
If not, then I want to know till when you will give support for this.
Hope you will reply soon.
Thank you

getting list of friends from facebook

Facebook API does not provide friends list of people using our fb app, according to their developer faq page. But still, websites like nimble and the live example of socialauth are able to get the names of people on our friend list, even those who do not use their app. Please, can any one help me with how this work?
The read_friendlist permission gives only name of lists like 'close friends', 'aquaintance' etc. the user_friends permission gives only the list of people in our friendlist who use our app.
What all api permssions do we need to get the full friend list?
I am trying to make an address book by importing contacts from google, facebook etc. using socialauth. Had success with google.
Those websites are probably using older Apps with v1.0 - it will stop working for them after end of April 2015. You can only use v1.0 with an App created before end of April 2014.
All 'friends_*' permissions have been removed from new version 2.1
You can use 'user_friends'
https://developers.facebook.com/docs/apps/upgrading
https://developers.facebook.com/docs/apps/changelog
For fetching app users user 'me/friends'
For more friends use 'me/taggable_friends' .
Remember it will still not return whole friends.
In new facebook api version there is no way to fetch whole friend list at one time

Friends list request from Corona SDK on Facebook API returns nothing

I've copied I code I used in an older game into my new game (it worked and still does in the old game) that I use to get the users friends list so I could publish (send) a message to which ever friends I want, inviting to play against me in my game, simple enough, no?
But it seems this does not work anymore, is that true? Does Facebook only allows an app to request just the list of your friends who also use the same app? I can't see how this helps the gaming industry get the word out on new games using the Facebook API to message about it from one user to his friend/s...
Am a complete fool and miss something? can the normal friends list be loaded into my Corona built game using the Facebook graph API?
Thanks.
Yes, Facebook has changed the rules and the me/friends will only return friends who have the app installed. You have to use various showDialog() features with friend pickers to see all your friends.

How to get all facebook friends(who even not using the app) using facebook graph api [duplicate]

This question already has answers here:
Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application
(8 answers)
Closed 3 years ago.
Im using facebook graph api to login to facebook and get all my friends names and ids, but im just getting those friends who are also using my app.
I want the list of all my existing friends whether or not using my app.
Please help!!
In v2.0 of the Graph API, calling /me/friends returns the person's friends who also use the app.
In addition, in v2.0, you must request the user_friends permission from each user. user_friends is no longer included by default in every login. Each user must grant the user_friends permission in order to appear in the response to /me/friends. See the Facebook upgrade guide for more detailed information, or review the summary below.
If you want to access a list of non-app-using friends, there are two options:
If you want to let your people tag their friends in stories that they publish to Facebook using your App, you can use the /me/taggable_friends API. Use of this endpoint requires review by Facebook and should only be used for the case where you're rendering a list of friends in order to let the user tag them in a post.
If your App is a Game AND your Game supports Facebook Canvas, you can use the /me/invitable_friends endpoint in order to render a custom invite dialog, then pass the tokens returned by this API to the standard Requests Dialog.
In other cases, apps are no longer able to retrieve the full list of a user's friends (only those friends who have specifically authorized your app using the user_friends permission). This has been confirmed by Facebook as 'by design'.
For apps wanting allow people to invite friends to use an app, you can still use the Send Dialog on Web or the new Message Dialog on iOS and Android.