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
Related
If I have understood it correctly Facebook made some changes so it returns app_scoped_id instead of the normal user_id.
The problem I have now is that no other function seems to work.
I receive an I id from Facebook, and it's the same each time I login, but if I use facebook.request("me/friends") the table is empty, if I use facebook.showDialog("friends") it
What do I need to do in Corona SDK to get this to work? Before I could use these functions after having setup them up in Facebook.
I read this thread explaining why this happen but it doesn't explain how to solve it in Corona SDK: Get Users App-Scoped user id in Facebook Graph API
As of Facebook API v2.0, friends list (/me/friend) returns ONLY user's friends who are already using your application. This limitation applies to all apps that are on v1.0 mode too.
If you're looking to get friends for tagging actions: https://developers.facebook.com/docs/graph-api/reference/v2.0/user/taggable_friends
If you're looking to get friends for inviting to a Facebook Game on Canvas: https://developers.facebook.com/docs/graph-api/reference/v2.0/user/invitable_friends
Cheers!
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.
to make app viral,we want to invite friends using request (but it only works for Canvas app
We are having non-canvas app. What is the best available method to make it viral ?
[from the lots of facebook doc, i understand request only works for canvas app!, and not for website, correct me if understanding is wrong]
Currently we are taking publish_stream permission and sending to user's friends (after properly taking user's consent), but hitting by 341 error.
Is there any way out, so user's friends can be invited for non-canvas apps ?
PS: we dont want to send apprequest (which requires app Access token). We want to invite friends of user on behalf of user.
Anyone from FB here ?
Raxit Sheth
I would like to develop an app that recommends music to the user based on the music his/her friends listen to. But in order to do so, I would need a list of the music of the friends of the user. So my question is: is there a way to retrieve the posts made by your friends via Spotify?
Your app can connect to Facebook and get the user's friends and (I believe) listens using the Facebook API.
The Spotify Apps API does not provide this directly to you.
I'm assuming this is the same as my reply to this question: OpenGraph Music music.listens returns error
Facebook are yet to allow everyone to use music.listens freely, both in terms of reading and writing the data.
i've built this application who keep in a database the uid of the users who used it.
when the administrator of the application is logged in to facebook and to the application,
he sees if a list of all the users who used the application, ordered by if they're friends with him on facebook or not.
the administrator has granted the publish_stream permission for my application.
i want do give the administrator an option to write a post or a link on the wall of a user which he is friend.
reading the graph api documentation i've found that i can POST to https://graph.facebook.com/uid/feed or https://graph.facebook.com/uid/links a feed.
from some reason i'm not able to do so..
can some please tell me what is the way to do so and what are the parameters i need to send to there api functions?
Im posting to /otheruser/links.
You should post it to /otheruser/feed. Facebook will automatically put your link into the link area.