Facebook Application Send Friend request using Facebook Api

前端 未结 6 1916
青春惊慌失措
青春惊慌失措 2021-01-01 04:53

I want to send Facebook friend invitations to some of our friends list without using FBML tags ()

I am writing code in ASP.NET using

6条回答
  •  囚心锁ツ
    2021-01-01 05:30

    Okay. Years later, things has changed:

    https://developers.facebook.com/docs/reference/dialogs/

    Dialogs provide a simple, consistent interface to provide social functionality to your users. Dialogs do not require any additional permissions because they require user interaction. Dialogs can be used by your application in every context: within a Canvas Page, in a Page Tab, in a website or mobile web app, and within native iOS and native Android applications.

    There are currently 7 Dialogs available for you to use:
    - The Feed Dialog allows a user to post a story to their Timeline and to their friends' News Feeds
    - The OAuth Dialog allows a user to authorize an application as part of an authentication flow.
    - The Add Page Tab Dialog allows a user to add an application to a Facebook Page which they administer.
    - The Friends Dialog allows a user to send a friend request to another user.
    - The Pay Dialog allows a user to make a purchase using Facebook Credits.
    - The Requests Dialog allows a user to send a request to one or more of their friends
    - The Send Dialog allows a user to send a Facebook Message to one or more of their friends.

    See also: https://developers.facebook.com/docs/requests/

提交回复
热议问题