Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Facebook API


  • Please log in to reply
3 replies to this topic

#1 Dan A.

Dan A.

    New Member

  • Members
  • Pip
  • 1 posts

Posted 06 April 2012 - 12:32 AM

I have been searching the web and these forums up and down for a good explanation of how to get a netduino plus to post to a Facebook timeline and read comments from the post. Sorry, but I am really new with this. As far as I understand, I need to get some kind of webserver running on the netduino, create a facebook app, and then magically somehow make http posts to integrate into the facebook app. (this may be totally off base) I have a sensor that when it goes off, it will post to facebook, and then the comments to the post will cause the netduino to do other stuff. Has anyone done anything like this before or have any kind of sample code that is related in some way?

#2 Thomas Rankin

Thomas Rankin

    Member

  • Members
  • PipPip
  • 26 posts

Posted 06 April 2012 - 04:18 AM

I have been searching the web and these forums up and down for a good explanation of how to get a netduino plus to post to a Facebook timeline and read comments from the post. Sorry, but I am really new with this.

As far as I understand, I need to get some kind of webserver running on the netduino, create a facebook app, and then magically somehow make http posts to integrate into the facebook app. (this may be totally off base)

I have a sensor that when it goes off, it will post to facebook, and then the comments to the post will cause the netduino to do other stuff. Has anyone done anything like this before or have any kind of sample code that is related in some way?


Dan, sending and posting data to Facebook should certainly be possible with the ND+. Stefan talks a bit about the network communication here. http://forums.netdui...ta-to-web-page/

The rest probably resides in the Facebook developers API, and or some screen scraping.

https://developers.f.../reference/api/

#3 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 07 April 2012 - 09:31 AM

A potential fly in the ointment doesn't the fb api require ssl? If so my understanding is that the nd+ does not support ssl due to the amount of processing overhead and size of the library? If so you would have to create your own proxy service (php or .net) which you could post data to which then communicates with Facebook etc.

#4 ItsDan

ItsDan

    Advanced Member

  • Members
  • PipPipPip
  • 101 posts

Posted 07 April 2012 - 12:03 PM

Agreed, as someone who just wrote a facebook app, you're much better off using something where you can use one of their SDK's. Write a proxy service that your netduino can communicate with.
Follow the adventures of the Box of Crappy Surplus

Total BOCS Traveled Distance: 9708 miles | States Visited: 5
Track the Box




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.