Facebook friend Request [duplicate] - iphone

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Send Friend request with facebook graph api in iphone
I have an issue in sending a friend request in facebook through my iphone app. I dint find any api for that. If anyone here could help me out in this i wud be very thankfull to them.
Thanks
Abhishek

No. You cannot send Friend Request using the API. But you can direct users to User's page, inside webView to see the Friend request button.

Related

Automatic 'like' after logging in via Facebook [duplicate]

This question already has an answer here:
How can I use the Facebook Javascript API to automatically make a user like a page?
(1 answer)
Closed 9 years ago.
I've been googling for days. I have a read a lot of documentation, forums etc, but I haven't found a working solution.
I am trying to add 'like' to the page https://www.facebook.com/Superawesometest on behalf of the user after he/she has logged in via facebook. I recieve all the necessarry permissions and an access_token.
but using $facebook->api("/Superawesometest/likes", 'post'); wouldn't work
what am I doing wrong?
Try using the Superawesometest page's Page ID instead of the name "Superawesometest" in the API path

Why facebook tries to send POST request when I open my application? [duplicate]

This question already has an answer here:
Why is the first request to a Facebook IFrame App Canvas Page a POST request?
(1 answer)
Closed 9 years ago.
I've just register my application on facebook. When I try to open up it via browser like http://apps.facebook.com/myapplication/ I get the error:
Cannot POST /
I've looked into my iframe parameters and saw that one iframe above send POST request with hidden field signed_request. What it is?
You question is much related to this post , facebook needs to send signed_request to your application with authentication user information.
The error you met is because your application does not support post method to routing '/'

Fetch the facebook events using FB Graph API [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Will we be able to access life events on a timeline?
I want to fetch an event using facebook api like wedding anniversary etc using facebook graph API. Is it possible?
Please refer to Facebook Graph API.
https://developers.facebook.com/docs/reference/api/event/

Facebook integration issue [duplicate]

This question already has answers here:
How to get Facebook friends' email?
(7 answers)
Closed 9 years ago.
Is is possible in iPhone application to get friends email id on Facebook?
No. You can't get friends' emails. Check out graph api permissions.
https://developers.facebook.com/docs/reference/api/permissions/
NO, Its not possible to get email ids of friends although you can ger facebook ids of friends

Post message referencing users [duplicate]

This question already has an answer here:
How to let users tag their friends in a Facebook status update posted from a tab on a Facebook page?
(1 answer)
Closed 8 years ago.
As a facebook app I want to post a message that references a set of users (e.g. #John Doe, #Tom Cruise) so that the message will show up on their wall (and their friends can see).
How can I do this programmatically? Through what API calls?
As stated by aFacebook employee, tagging users in statuses is not available through the API.