Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Creating events in facebook using Facebook.NET 2.0

Creating events in facebook using Facebook.NET 2.0

Scheduled Pinned Locked Moved ASP.NET
csharpdatabasesecurityxmlquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tonymathewt
    wrote on last edited by
    #1

    Hello Has anybody worked in Facebook.NET 2.0 and created events using the function events.create()? Well, I am getting the exception "Invalid Parameter" while using it. (Declarions & authentication skipped) Dim NewEvent As New Facebook.Schema.facebookevent() NewEvent.name = "ThroughCode" NewEvent.event_type = "1" 'Also tried "Party" NewEvent.event_subtype = "1" 'Also tried "Birthday Party" NewEvent.host = "tony" NewEvent.location = "Sabha" NewEvent.start_date = StartDt.Date NewEvent.start_time = 1215929150 NewEvent.end_date = EndDt.Date NewEvent.end_time = 1215929160 NewEvent.description = "SDFSDF" Dim CreateEvtStatus As Long = events.create(NewEvent) I have also tried giving venue details as follows: Dim loc As Facebook.Schema.location = New Facebook.Schema.location() loc.city = "Bombay" loc.country = "India" loc.state = "Maharashtra" loc.zip = "400001" NewEvent.venue = loc But no chance!!!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups