Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Connect to facebook api.

Comments in 'Plugin Development' started by Ragnok1234, Oct 30, 2016.

  1. Ragnok1234
    Offline

    Ragnok1234 Active Member

    Joined:
    Jul 18, 2016
    Posts:
    53
    Minecraft User:
    Ragnok123
    Hello guys and girls. Who uses facebook api? I want use message sending method to facebook user.
    Example: player writes on server /ban, plugin gets his message and will send to owner (facebook user) of this server. I know about CURL_SETOPT, but i dont know link for using this. Thanks for any help.
  2. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
  3. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    Facebook do have an API for this, you can have a read about it for yourself here. Although it appears you need the mbstring extension installed onto PHP in order to use it so if you're planning on distributing a public plugin it may be difficult.
    applqpak likes this.
  4. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    not using the client is alwayls an option we are not really forced to use it you can make one on your own
    archie426 and HimbeersaftLP like this.
  5. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    I know but if it's already there then why not use it? There's no need to make this hard for ourselves.
  6. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    lets just say there a lot of valid reasons ex:
    cant meet libary requirement version
    lib oudated
    you just dont want to include multi file lib into your plugin
    it is just way easier to build one then sitting back reading all the lib docs for 5 hour why not when you can build one in 2 hours
    HimbeersaftLP likes this.
  7. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    1. We can meet the library requirements.
    2. It's never going to be out of date because Facebook always update it.
    3. I can say from exprience that documentation takes about 10 minutes realisticly to
    understand. What the hell makes you think it takes 5 hours?
    HimbeersaftLP likes this.
  8. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    i just said it is an valid reasons as an examples but i never said it was applied to this case
    HimbeersaftLP likes this.
  9. Dinokiller
    Offline

    Dinokiller Notable Member

    Joined:
    Sep 22, 2013
    Posts:
    376
    Minecraft User:
    Dinokiller_
    That's nice.
    HimbeersaftLP and Thunder33345 like this.

Share This Page

Advertisement