posting to a php website using C++ HTTPClient - c++

Im learning C++ to program a micro-controller, it turns out that there aren't any libraries available yet for posting to facebook / twitter.
i have coding background in PHP and was able to implement posting to facebook timeline through the use of API with just a simple HTML with Textarea and a button.
was kinda wondering if its possible for C++ to post or push data into a website HTML and, with that website, i will be able to post status in my facebook / twitter.
i scanned through the available libraries of my micro-controller, and found out about HTTPClient but not sure if this is the solution im looking for.

Related

How can I implement video chat in my website using Django?

I want to develop a website in which users can have video chat and they can connect to other user anonymously without had been added by the other person as friend. I also want that all the active users list is displayed on the website. So somebody please suggest me how can I implement it on django?
You can use a third party service for this. Or you can use WebRTC. There are some nodejs packages which can help you do this. I like "EasyRTC" for that.
Or if you want to use Python, you can use Twisted. Here's a tutorial (found on Google, not tested by myself - https://ferretfarmer.net/2013/09/05/tutorial-real-time-chat-with-django-twisted-and-websockets-part-1/)
In essence, Django doesn't handle the video streaming/chat part. You can use Django for authentication and serving the required html and other stuff. But the video chat needs to depend on other services.
If you are looking to create a video calling and chat application using django, django_channels, you can refer to this Github Repository .
It also tells you how to deploy your app to google app engine flex with Redis instance.
It took me a long time to build this, so I created a detailed basic public repository to help someone like myself and for future reference.

Find Public Facebook Videos

http://www.downvids.net/video/
I am trying to build an iOS app and having trouble trying to find the public links of facebook videos.
So in general i wanted to do what this website above is doing, show popular or new videos that are shared on facebook.
Can anybody guide me in right direction please?
Afaik you cannot search for videos, see the Search API documentation: https://developers.facebook.com/docs/reference/api/search/
Yeah might be there are many ways to find latest videos on facebook. There are many facebook pages which are made for videos and on that pages video are post on daily bases. You get latest video from that pages and download it. But downloading video from Facebook is also a problem. Most of the Facebook video downloader are difficult to use. But i found a downloader which is very easy to use you also use it click here. There are also some search tools which are use to find videos from facebook but i think it is one of the easy way.

Using webservice in Chrome extension for accessing user information

I want to make an extension for Chrome that customers have to enter their username and password. Then after that they can view their account information by the extension instead of log in to website.
But firstly I'm beginner in developing Chrome extension then after I read some articles about it, now I don't know Where I can start?
Secondly my big problem is using web service in my extension because I have to get customer user/pass and send them to my web service (.net) to get information.
I appreciate you if you give me your ideas/sample code/tutorial/...
But firstly I'm beginner in developing Chrome extension then after I read some articles about it, now I don't know Where I can start?
Start from hello worlds, of course. I would recommend refreshing your knowledge of HTML/CSS and Javascript, as Chrome extensions are essentially local web pages.
But before you dive into new technology, think if you really need to do this as a Chrome extension. Maybe a simple set of webpages will be a better (and cross-browser) choice? Do you really need chrome.* API? Maybe you can share some additional details, like why did you decide to go with Chrome extension in the first place.

Is possible to create a singleton c++ to authenticate and post in the wall using HTTP request to Facebook API?

I'm working on linux.
I have been looking for a method to post on Facebook from a c++ app (that runs in Android and Iphone using cocos2d-x). I have found some code in c++ to post on Facebook and Twitter, but it does not compile on linux. This or this.
In theory, I think, using http request, it could be easy to do, but i'm not sure.
The same question on cocosd2-x forum.
Some idea about this theory?
Is possible, but better use oficial libraries, added in THIS wiki
This is possible using curl. Here you are a LINK1 to compile it on cocos2d-x library, and a EXAMPLE2 using cocos2d-x.
LINK1: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_compile_libcurl
EXAMPLE2: http://www.jesusbosch.com/2012/08/internet-communications-with-cocos2d-x.html

How to programatically create a Facebook application via JS SDK or Open Graph API? (createApplication)

I know there are currently two methods that can be used to do this, documented (poorly) on Facebook's Developer site:
The old (depreciated) JavaScript SDK FB.Connect.createApplication
A new FBJS method Facebook.createApplication (only for use on Canvas pages)
The problem is that I not using a Canvas app that runs FBJS, and I am not using the OLD JS SKD. I am trying to do this on a regular old PHP website that uses the current JavaScript SDK and the PHP SDK.
I am doing the usual Open Graph API calls and such with the current SDK, so I understand the basics, I'm just not sure how to proceed to use the OLD SDK, or if (fingers crossed) I even really have to?
So, is there a way to make new Facebook Apps with the current JS SDK? Or with a server side PHP SDK call to the Graph?
And if not, how do I call the old SDK to do this?
Thanks
UPDATE: You still can't do this, but there is an official bug in the Facebook tracker about it: http://developers.facebook.com/bugs/295627350461318
There isn't outside of the OLD SDK as you indicated. It's been removed (what Facebook calls "deprecated"). I put in a feature request recently for them to add it back into the API:
Me:
The Facebook Developer tool is
considerably lacking in features. We'd
like to be able to create a third
party application that adds layers of
functionality to the developer
application, but we'd need to be able
to create and administer applications
via the Graph API.
The Graph API supports querying for
information on existing applications.
To create, administer or delete
applications developers must go to the
Developer Application.
Them:
------- Comment #1 From Jeff Bowen 2010-12-07 16:59:12 (-) [reply]
------- Thanks for the request. We’ll track this on our wishlist