samedi 28 février 2015

Launch Google Play Games App using WEBINTENT plugin

I want to open Google play games app on my mobile from my android phonegap build application using WEBINTENT plugin.



window.plugins.webintent.startActivity({
action: window.plugins.webintent.ACTION_VIEW,
url: 'facebook://'
},
function() {alert('success')},
function(errorMsg) {alert('Failed to startActivity errorMsg=' + errorMsg)}
);

},false);


This code works well to open facebook. How to use it to open play games application.? Thanks.


Android AccountManager, how to with GCM and FB

I just started to use AccountManager on android.


In my app I have two methods of authentication: email-password and Facebook.


First problem: I have to send to the server during login/signup the Google Cloud Message id, this implies I have eventually to do some async requests and also waiting for user interaction. How can I conciliate this with the method getAuthToken for autologin, which returns a bundle without using callback interfaces?


Second problem: When I login/sign up with Fb, I have to send some data to my server to receive a token. But I'll not have a password to save in the manager creating my account. Is there a "best practices" for this?


JSON extract Facebook Graph API iOS xcode

I'm in need take the data that passes facebook me with the scores of the players, but I can not return the values that are within the braces in xcode.


Example:



{
"data": [
{
"user": {
"id": "927806543903674",
"name": "Renata Gabi"
},
"score": 333,
"application": {
"name": "Player 2",
"namespace": "quemsoueubiblico",
"id": "303489829840143"
}
},
{
"user": {
"id": "964974026864922",
"name": "Player 1"
},
"score": 230,
"application": {
"name": "My Game",
"namespace": "quemsoueubiblico",
"id": "303489829840143"
}
}
]
}


In android I use this



...
jgame = jObject.getJSONArray("data");
...
score = jgame.getString("score");
name = jgame.getJSONObject("user").getString("name");
photo_id = jgame.getJSONObject("user").getString("id");


for ios in xcode, I was trying this, but is not working



myObject = [[NSMutableArray alloc] init];
NSData *jsonSource = [[NSData alloc] initWithContentsOfURL:
[NSURL URLWithString:@"http://ift.tt/1DojM8O"]];
id jsonObjects = [NSJSONSerialization JSONObjectWithData:
jsonSource options:NSJSONReadingMutableContainers error:nil];

for (NSDictionary *dataDict in jsonObjects) {
NSString *score_data = [dataDict objectForKey:@"score"];
NSString *name_data = [dataDict objectForKey:@"name"];
NSString *id_data = [dataDict objectForKey:@"id"];
NSLog(@.........);
dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
score_data, score,
name_data, name,
id_data, id,
nil];
[myObject addObject:dictionary];
}


I am not able to adjust the "data" facebook graph, and get the subclasses


Facebook logos for Android

I would like to have a Facebook logo in my Android application which takes the user to the apps' Facebook page.


Is there a website which provides official Facebook logos, for hdpi, mdpi, and the other sizes?


Changing the category of FB app

I am currently learning to develop fb apps. When initially creating the app I didn't select the app to be of 'Game' category and now when trying to add achievements it requires the app to be of game category. It says here:


"This API is only available to applications categorized as games. You can categorize your app as a game the Developer app by navigating to About --> Basic Info and selecting Games in the drop-down menu in the category field."


But I couldn't find the About-->Basic Info in my app's developer page. Please suggest a way to change the category of my app.


Android WebView - Choosing a file via html form

i have a web app/Facebook app with a form that requires a user to upload an image. When accessing the site via the Facebook app on android devices, the choose file dialog will not prompt for the file location.


This only happens when using the native WebView from the Facebook app. If I choose to use an external browser (chrome or otherwise) the form works properly. Anyone know a if there is a workaround?


Can my web service api call facebook/google oauth2 on behalf of another web service?

I'm building a web service for use as an api component in web sites or apps built by others.


I am building a set of functionality that my clients can use on their sites for their users, but which are served by my application.


One of these services is user login. I intend to support multiple types of logins, and provide the client application a user token once the user is logged in. So the client application only has to implement one login interface, but they get a variety of oauth2 strategies for it.


To make this work with their google or facebook accounts, they would have to provide my app with their application id and secret key. Entering a secret key on someone else's site, even for integrating with your own site seems dangerous. They call it a "secret" key for a reason.


I have found one web service which seems to be doing something similar to what I am planning to do: http://ift.tt/1Anoqlx


They have a configuration page for client accounts where the user enters oauth2 credentials to enable the Authic oauth2 login pages on behalf of the client app.


What are the security concerns to be aware of with this kind of service, and can the client app use a service like this safely? If it can be used safely, what is required for safe use? I think the app doing the oauth2 interface would be able to do other things on behalf of the client app, since it has an app secret, and the client app owners would have to trust that this was not happening.


The alternative to this strategy seems to be using my own application id with oauth2, and having the client apps redirect to my app's login page. Then the user will see the oauth2 permissions page with my app's logo instead of the app they were intending to log in to.


Cordova/Phonegap iOS: no access rights for Facebook Connect plugin

I'm trying to set up Facebook login for my app using this plugin: http://ift.tt/1vLQsvu


I follow the steps and get error messages every time. Here's a ss of the whole process: http://ift.tt/1AVUVuN


What am I doing wrong to get these errors and what can I do to fix them?


PGP signature on social media?

I was thinking on the other day on how copycats often impersonate other celebrities via social networks deceiving the masses - it's spiraling out of control. Solution to this problem is to educate celebrities on how to use PGP signatures?


If I was a celebrity I would give my friends/fans my PGP key and use the signature to verify my identity alongside with pictures. So where do one get my public key? From the main celebrity website. Alongside with the selfie picture, name, date, and the link to their profile: they can easily verify their identity alongside with the picture including PGP signature. My only concern is that a fan can just simply copy n' paste the signature message posted on social media and post it on their fake profile - that would be problematic, no? Of course, fans would ask the celebrity to constantly create another signature message to verify their identity - kind of annoying, isn't? Maybe a selfie picture from a bathroom mirror alongside with their name, date, and link to their profile should be sufficient. Just my two cents.


issue capturing the hashed URI parameters in Coldfusion

Is there a way to capture URI parameters with hash # in coldfusion. I am working on facebook login and facebook after authentication sending this access_token which I am unable to capture down in CF.


Any help will be apreciated.


http://ift.tt/1CalDTDaccess_token=CAAUyoQQg6skBAJQAVhcARZCAR&expires_in=5156508&code=AQBDV1c0Ib15GQ45fEkNsk_9jtE8wA9AjcCh4niZdVHOkkBH_OCLaOhj0tPy6nC-BTgG1qGYPYasDyadanAzEwzulo8PCzthfm


Url Data Expanding Like Facebook

I want Every one has an answer help me plaese in my graduation project that i am programming now, its a project someway like facebook or you can call him wall script and i didnt know the correct way to expand url data like facebook, i found some ways but didn`t work for all urls, was for limited ,Pls if you could help, Do it as fast you can


Can't query for multiple posts with likes count

I want to query Graph API for a set of posts (with ids of them). Let's assume i've got an array {firstId, secondId ...}. One way i've tried is:



v2.2/?ids=firstId,secondId...


Which works good as long as i dont want to get the likes/comments count summary through adding any "fields" param.



?fields=likes.limit(1).summary(true),comments.limit(1).summary(true)


Any ideas on how to merge ids with fields params in one request?


In a Facebook Page, on a like event, launch a script that add wifi ssid and password to liker mobile phone

as at the object, i would launch a script when an user press on the like button (on the facebook page).


This script should do a thing like that:


If a mobile device { create a wifi connection using my ssid and password; }


thank you for your time.


Javascript Facebook Login on mobile web don't work

I have found a ton of questions on this but no real answers. My Facebook login works perfectly on desktop, but fails on mobile browsers (tested on Chrome and Safari). With mobile Safari I get the pop-up which asks me to log in, but never get the window requesting permission for my app... and the redirect doesn't fire and user does not get logged into my map :(


I'm using pretty standard Facebook login flow/logic.


I have used http://ift.tt/PFY4fe before for a native app which worked, not sure if it'd work for this case but either way I would prefer to roll my own here.


Does anyone know how to make Facebook login via Javascript SDK work on mobile browsers?


Spring Social Facebook Login

I have follow basic Spring Social Facebook and it worked. But it required me to login on browser.


Do you have any idea how to login with an email and password that input inside the Spring program ?


Diagram:


Other Program (Send email and password) -> Java Spring application (Received and Auth) -> Facebook


how to add different images to PHP Live Search result?

my PHP live search code working without any issues.i have added a thumbnail to drop down search result.same image(site logo) to every search result. but now i need to add different images to drop down search result. eg: facebook live search with different profile pictures.


what i want : Bob's profile picture and details when i type "Bob" in search box.Mark's profile picture and details to dropdown live search result,when i type "Mark" in search box.


I'm only posting my search.php file here.i think it's enough for my question.this code adding one thumbnail (image.jpg) to all dropdown live search results. How to add different thumbnails to each results?



<?php
include('db.php');
if($_POST)
{
$q = mysql_real_escape_string($_POST['search']);
$strSQL_Result = mysql_query("select id,name,email from live_search where name like '%$q%' or email like '%$q%' order by id LIMIT 5");
while($row=mysql_fetch_array($strSQL_Result))
{
$username = $row['name'];
$email = $row['email'];
$b_username = '<strong>'.$q.'</strong>';
$b_email = '<strong>'.$q.'</strong>';
$final_username = str_ireplace($q, $b_username, $username);
$final_email = str_ireplace($q, $b_email, $email);
?>
<div class="show" align="left">
<img src="image.jpg" style="style here"><?php echo $final_username; ?></span>&nbsp;<br/><?php echo $final_email; ?><br/>
</div>
<?php
}
}
?>

WordPress SEO by Yoast - Facebook thumbnail issue

I use this plugin on a site and it gives out wrong facebook thumbnail despite selecting facebook image in the setting of the page.


site URL: http://ift.tt/1DDzaRr


After going through the facebook debugger tool: http://ift.tt/1sbmVox I found out the tags which were responsible for facebook thumbnail are being generated in the section of the page rather than section.


Facebook uses og:image tag to use the image as thumbnail and this tag is in the , it should be in


Does anybody know how to fix this? is there a way where I can change the location of tabs from to


Any help would be greatly appreciated.


how use graphAlbum facebook api in php

I'm trying to use the "api graph" of Facebook, to display data from an album of facebook in a page of my site. using them for user data all goes well. when I try with the data instead of an album I can not extrapolate data the code is as follows:


$request = new FacebookRequest( $session, 'GET', '/{album-id}/photos'); $response = $request->execute();


but after this code, I can only see the structure with serialize(), without being able to use any property, as in the case of user data with getProperty ("name")


can you help me?


Networking app architecture

I'm building an android app similar to a facebook app, aimed to display various information stored in a database. I'm using on the server-side a REST API, which returns responses based on various POST requests, with a facebook token authentification.


And on the client-side, I'm using the volley library to deal with network requests. I've tried numerous possibities but I'm searching for the most elegant way of communicating with the server, and since this is a trivial case, I thought you could maybe help me with this one...


Since I'm always checking fb tokens, and making similar POST requests, I considered adding a Connexion objet, which creates a volley request when prompted with an execute(POST parameters...); method, and calls a callback method when the response has arrived.


But I'm struggling to decide whether I should create a SessionManager object (Singleton or not ?) which can process ALL the data from session related responses (like check login, login...) based maybe on codes (for example Error 5xx for every type of response), and DO the intents.


Or I should process these responses in every activity, and do the intents there. Knowing they can maybe repetitive. In short, I'm looking for a best practice to apply when the app has to process common responses, and not so uncommon responses for example. Keep all the logic in the activities ? Create objects ? Don't hesitate to post your opinion on the subject !


Thank you very much.


EDIT : Ended up using a Connexion object to process all the requests (with volley). As for the Intents, I kept all that logic in the activities and haven't used another controller. The result was not ugly. Mainly because I used a secondary route which does the authentification, so the server ALWAYS responds with a big error if you're an evil hacker.


Adding youtube videos posted to a facebook group to a playlist via script?

I'm interested in finding or developing myself a way to automatically add Youtube videos which are posted to a Facebook group I run to an associated Youtube playlist. Videos are shared by multiple users, not just me so simply using a social networking tool like Hootsuite will not suffice.


I have programming knowledge in web development and object oriented desktop programming, but am not versed in scripting or networking in general.


Do Facebook groups have an RSS or similar XML type feed which I can access given the right authentication? (The group is secret.)


Given such a feed could I distinguish between video posts and non video posts either through some explicit structure of the feed, or by simply searching the data and identifying Youtube URLs via regular expression?


Does Youtube provide an API which supports adding videos to playlists?


how to test Facebook Login for my app

I am adding Facebook login to my app so to get permission to post photos for users. Having created the code, I now want to test that it works. So naturally I am using my own Facebook again to see that the system works. The first time I went through, I found some stuff I didn't like. So I made the changes. Now that I want to test again using my Facebook again, when I login, Facebook keeps telling me that I already gave the app permission. I tried uninstalling the app and then re-install, just in case it was caching locally. But that didn't help. So my question is: how do I get to reuse my account to login and request the permissions again? I hope the question is clear. If not, please ask for clarification.


How can i get friends latest status from facebook in ios?

I am little bit new at facebook api so my question is, Is there anyway to find the latest status of any facebook friend?


Thanks in Advance for any help.


Regards Emon


Facebook Graph getattachment method returning "unknown method" error

I am trying to write an application which can archive your Facebook messages and their attachments, something similar to the amazing tool http://ift.tt/1AmLKjd, but i have a problem with non-image attachments, say a audio file for example.


According to this View attachments in threads, the solution is the messaging.getattachment api call, with the proper parameters, now it looks like this is working for some people, but when i do it, through a browser direct call as well as with the python code mentioned before the response is always the same:



{"error_code":3,"error_msg":"Unknown method","request_args"


followed by all my parameters.


What am I doing wrong here? Is there something wrong with this api endpoint at this moment? Am I passing the parameters the wrong way? Maybe someone who got this working can put an example of how they passed their parameters(not the access token of course :() but maybe im putting the mid parameter the wrong way.


Any help appreciated.


Qt5 http post to Facebook failed

I am a newbie in QT5.


I tried to write a program which can like a post on facebook using my access_token in QT5.


Here are my code snippet


Function use to do http post:



bool MainWindow::postRequest(QString link, QMap<QString, QString> data)
{
QNetworkAccessManager *manager = new QNetworkAccessManager(this);

QUrl url(link);
QNetworkRequest request(url);

request.setHeader(QNetworkRequest::ContentTypeHeader, "multipart/form-data");
request.setHeader(QNetworkRequest::UserAgentHeader,"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36");
QUrlQuery params;
QByteArray postData;
QStringList keys = data.keys();
for(int i = 0; i < keys.size(); i++)
{
params.addQueryItem(keys[i],data[keys[i]]);
}
postData.append(params.toString());
qDebug() << QString(postData);
QObject::connect(manager, SIGNAL(finished(QNetworkReply *)), this, SLOT(replyFinished(QNetworkReply *)));

QNetworkReply *reply = manager->post(request, postData);
if(reply->error() != QNetworkReply::NoError)
return false;
return true;
}


And when a button clicked, I call the function below:



void MainWindow::likeAct()
{
QString postid = ui->postid->text(); //The id of my post
QString token = ui->token->text(); //My access_token which had full permission
QMap<QString,QString> data;
data.insert("access_token",token);
postRequest(QString("http://ift.tt/1vJHtuH").arg(postid),data);
}


The replyFinished function as following:



void MainWindow::replyFinished(QNetworkReply *reply)
{
if(reply->error() != QNetworkReply::NoError)
{
httpFlags |= REPLY_ERROR;
qDebug() << "ERROR: " << reply->errorString();
}
else
{
QByteArray responseData = reply->readAll();
QString qstr(responseData);
qDebug() << "SUCCESS: " << qstr;
}
}


The qDebug() in replyFinished printed:



ERROR: "Error downloading http://ift.tt/1AUpYa8 - server replied: Forbidden"


Please help me


Facebook like button invisible

//I get no errors for my website but still, the Facebook like button doesn't show. //How do I fix this?



<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "http://ift.tt/1wxdyRJ";
fjs.parentNode.insertBefore(js, fjs);
}
(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-href="http://ift.tt/18xR65C" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>

Facebook logs out automatically if cookies cleared.How it works?

I've noticed that facebook logs out automatically if presence cookies are cleared.I would like to know how it works? Is facebook checking for presence cookies in a particular time interval? I googled this but couldn't find an answer.


how can i design a CSS style for comment boxes for a Social Networking site. Need some sample code

i have created a Social networking site in PHP. but am not good in CSS. Comments for images, and texts(status) are not good looking, does not have a good separation from each others.


So can anyone give me a CSS style for my site(like facebook having), which follows below logic,



<table class="myTable" width="400">
<tr class="image_posts"><td> <img src="img1.jpg"> </td></tr>
<tr class="image_comments"><td> COMMENT-1 </td></tr>
<tr class="image_comments"><td> COMMENT-2 </td></tr>
<tr class="image_comments"><td> COMMENT-3 </td></tr>

<tr class="text_posts"><td> STATUS-1 </td></tr>
<tr class="image_comments"><td> COMMENT-1 </td></tr>
<tr class="image_comments"><td> COMMENT-2 </td></tr>
<tr class="image_comments"><td> COMMENT-3 </td></tr>
</table>


Conditions:




  • long "comments or status"(for example, text with 100 letters) should not exceeds the table width. it should split into 2-3 rows.

  • Comments and text(status) posts should be easily separately identifiable by the user.



Can anyone please give me the code. i have done with my graduation project. i know PHP, but dont know CSS. so please, help me..


xcode 6.1 quit unexpectedly when build on device, using facebook sdk with storyboard

I am using storyboard in my app, I add Facebook framework for integration but when i run my app on device, Xcode quit unexpectedly. It works fine on simulator but not on device. Why it is happening, I am stuck on it. I searched about it but not found any useful result. Please anyone help me.


I am using Xcode 6.1 with storyboard and Facebook - iOS - sdks 3.23.1 pkg.


How can I uniquely Identify facebook user

How can I get the global facebook link


http://ift.tt/1DjXPd8


using v2.2 of facebook API,


Actually my application needs facebook friends and their globally unique facebook ID, I am thinking to get the friend names using taggable API but how can I get the unique facebook ID? or it is not possible at all ?


If somehow I get this global link for a user, I can extract the global ID


http://ift.tt/1DjXPd8



(I know its not possible using their API directly, but there must be some workaround that one can use)


PS : facebook new API changes sucks for many many apps.


Facebook share descrioption is not shown when the link is on Google Play app

When I share from my app using http://ift.tt/NaTc00 tutorial and as a link I put my site URL, all works correct, but when I share the same thing but the URL is my game URL in Google Play, then the description of the shared message and also caption is not shown. How to configure to see description? Thanks!


My site blocked by facebook

I have a site and wanted to share it into facebook. However, upon posting I got a notification from facebook saying:



The content you're trying to share includes a link that our security systems detected to be unsafe:


markleobongcasan.com


Please remove this link to continue. If you think you're seeing this by mistake, please let us know.



I checked into sucuri site check and it is 100% safe.


I checked my site using facebook debugger as what one of their support member suggested and I got this: http://ift.tt/1AlFxEl


Anybody here who has the same experience/problem? How did you fix it?


Facebook login with Wordpress Site

I am working on one of the site that is built in wordpress and facing one issue that as per the plugin when we logged in with facebook to the site a user of type author is created by default but in few users a user is not created.In case of other users it is working fine but Few users it is creating the Issue.Below is site Url:-


http://maggcom.com/


On click of Add Story that Facebook login functionality can be achieved.Can you please help me out.


Thanks Mitesh Shah


vendredi 27 février 2015

post cavas images to comment facebook using javascript sdk


$.getScript('//connect.facebook.net/en_UK/all.js', function () {
FB.api(
"/1546036342324515/comments/",
"POST",
{
'source': canvas,
},
function (response) {
if (response && !response.error) {
console.log("posted");
}
else{
console.log(response);
}
}
);
});


i want to post html5 canvas to comment's facebook via javascript sdk. but my code is not work. do you have solutions?


how to create a facebook like box when visitor visits website

Hello I have just created my website for online shopping guide and I want to increase the visitors and subscribers of it so I am planning to create a Facebook Like box (Pop Up) which will ask every visitor to like my Facebook page. I am quite new in this field please suggest me any article.


Website Name : www.brandedList.com


Facebook Account Link

I wanna know something about Facebook API restrictions, actually i also developed Facebook apps well but at that time i have to configure something different, let me to describe you


http://ift.tt/1E1pVLY (visit this link)


here when user click on LINK button near to Facebook, it's Facebook account will be linked there and after that the box that is front of it in attached image, user will be able to use that box to see his Facebook notifications and able to upload his statuses


I just need to know that is it allow by Facebook? I'll search and use it if it's possible, please let me know possible or not and if you have some link to read for me please provide ?


Any guideline will be appreciate by me


Thanks if you provide me a reliable answer


Waiting (If you wanna know which programming language i 'm using then my answer is that i am using PHP, i know language is not mandatory because it's about Facebook API Scope )


Smack facebook login not authorized

I am quite stuck on implementing facebook chat in my android application. I am using XMPP connection offered by aSmack library. Everything works fine, if i'm using PLAIN mechanism and my regular facebook username and password, like so


SASLAuthentication.supportSASLMechanism("PLAIN"); xmpp.login("my_username@mail.com", "my_password");


But if i'm using X-FACEBOOK-PLATFORM mechanism to login with my app id and access token, then i am getting always not authrized error.


This is my main login method:



public void testLogin(){
SASLAuthentication.registerSASLMechanism("X-FACEBOOK-PLATFORM", SASLXFacebookPlatformMechanism.class);
SASLAuthentication.supportSASLMechanism("X-FACEBOOK-PLATFORM", 0);
ConnectionConfiguration config = new ConnectionConfiguration("chat.facebook.com",5222);
config.setSASLAuthenticationEnabled(true);
config.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);

XMPPConnection xmpp = new XMPPConnection(config);

try {
//Async connecting to XMPPConnection
new ConnectXMPP().execute(xmpp).get();

Log.i("XMPPClient",
"Connected to " + xmpp.getHost());

} catch (InterruptedException e) {
e.printStackTrace();
} catch (ExecutionException e) {
e.printStackTrace();
}
try {
SmackConfiguration.setPacketReplyTimeout(1500);

xmpp.login("145537185371985731", "145537185371985731|W3-5DTut4qFoNuBapOI-f5Bo_eQ", "Application");

Log.i("10201970684380516", "Logged in to " + xmpp.getHost());
} catch (XMPPException e) {
e.printStackTrace();
}
}


And this is my SASLXFacebookPlatformMechanism class



public class SASLXFacebookPlatformMechanism extends SASLMechanism {

private static final String NAME = "X-FACEBOOK-PLATFORM";

private String apiKey = "";
private String access_token = "";

/**
* Constructor.
*/
public SASLXFacebookPlatformMechanism(SASLAuthentication saslAuthentication) {
super(saslAuthentication);
}

@Override
protected void authenticate() throws IOException, XMPPException {

getSASLAuthentication().send(new AuthMechanism(NAME, ""));
}

@Override
public void authenticate(String apiKey, String host, String acces_token)
throws IOException, XMPPException {
if (apiKey == null || acces_token == null) {
throw new IllegalArgumentException("Invalid parameters");
}

this.access_token = acces_token;
this.apiKey = apiKey;
this.hostname = host;

String[] mechanisms = { NAME };
Map<String, String> props = new HashMap<String, String>();
this.sc = Sasl.createSaslClient(mechanisms, null, "xmpp", host, props,
this);
authenticate();
}

@Override
public void authenticate(String username, String host, CallbackHandler cbh)
throws IOException, XMPPException {
String[] mechanisms = { NAME };
Map<String, String> props = new HashMap<String, String>();
this.sc = Sasl.createSaslClient(mechanisms, null, "xmpp", host, props,
cbh);
authenticate();
}

@Override
protected String getName() {
return NAME;
}

@Override
public void challengeReceived(String challenge) throws IOException {
byte[] response = null;

if (challenge != null) {
String decodedChallenge = new String(Base64.decode(challenge));
Map<String, String> parameters = getQueryMap(decodedChallenge);

String version = "1.0";
String nonce = parameters.get("nonce");
String method = parameters.get("method");

long callId = new GregorianCalendar().getTimeInMillis();

String composedResponse = "api_key="
+ URLEncoder.encode(apiKey, "utf-8") + "&call_id=" + callId
+ "&method=" + URLEncoder.encode(method, "utf-8")
+ "&nonce=" + URLEncoder.encode(nonce, "utf-8")
+ "&access_token="
+ URLEncoder.encode(access_token, "utf-8") + "&v="
+ URLEncoder.encode(version, "utf-8");

response = composedResponse.getBytes("utf-8");
}

String authenticationText = "";

if (response != null) {
authenticationText = Base64.encodeBytes(response,
Base64.DONT_BREAK_LINES);
}

// Send the authentication to the server
getSASLAuthentication().send(new Response(authenticationText));
}

private Map<String, String> getQueryMap(String query) {
Map<String, String> map = new HashMap<String, String>();
String[] params = query.split("\\&");

for (String param : params) {
String[] fields = param.split("=", 2);
map.put(fields[0], (fields.length > 1 ? fields[1] : null));
}

return map;
}
}


And there's the exception i am getting always.



D/SMACK﹕ 09:26:38 ɣetrɔ SENT (308528663): <auth mechanism="X-FACEBOOK-PLATFORM" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"></auth>
02-26 21:26:38.871 3810-3837/com.example.transporter D/SMACK﹕ 09:26:38 ɣetrɔ RCV (308528663): <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dmVyc2lvbj0xJm1ldGhvZD1hdXRoLnhtcHBfbG9naW4mbm9uY2U9QzkyQjg1M0UwODFCQzNEQzI1NzRBQ0ZENUJDQUQyNTQ=</challenge>
02-26 21:26:38.872 3810-3836/com.example.transporter D/SMACK﹕ 09:26:38 ɣetrɔ SENT (308528663): <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">YXBpX2tleT0xMDIwMTk3MDY4NDM4MDUxNiZjYWxsX2lkPTE0MjQ5Nzg3OTg4NzEmbWV0aG9kPWF1dGgueG1wcF9sb2dpbiZub25jZT1DOTJCODUzRTA4MUJDM0RDMjU3NEFDRkQ1QkNBRDI1NCZhY2Nlc3NfdG9rZW49MTQ1MjYwMjYzODMwMTM1MCU3Q1czLTVEVHV0NHFGb051QmFwT0ktZjVCb19lUSZ2PTEuMA==</response>
02-26 21:26:39.178 3810-3837/com.example.transporter D/SMACK﹕ 09:26:39 ɣetrɔ RCV (308528663): <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/></failure></stream:stream>
02-26 21:26:39.181 3810-3810/com.example.transporter W/System.err﹕ SASL authentication failed using mechanism X-FACEBOOK-PLATFORM:
3810-3810/com.example.transporter W/System.err﹕ at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:342)
02-26 21:26:39.184 3810-3810/com.example.transporter W/System.err﹕ at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:230)
02-26 21:26:39.184 3810-3810/com.example.transporter W/System.err﹕ at com.example.transporter.activity.MainActivity.testLogin(MainActivity.java:188)
02-26 21:26:39.184 3810-3810/com.example.transporter W/System.err﹕ at com.example.transporter.activity.MainActivity$1.onClick(MainActivity.java:135)

Facebook native ad can't click,no reaction

I added facebook native advertising in the iOS app , advertising display, but when I click on the ads is no response, not pop-up advertising content in detail , What's the problem?



FBNativeAd *nativeAd = [[FBNativeAd alloc] initWithPlacementID:fanID];
nativeAd.delegate = self;
[nativeAd loadAd];

- (void)nativeAdDidLoad:(FBNativeAd *)nativeAd{
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
NSData *iconImageData = [NSData dataWithContentsOfURL:nativeAd.icon.url];
NSData *coverImageData = [NSData dataWithContentsOfURL:nativeAd.coverImage.url];
dispatch_async(dispatch_get_main_queue(), ^{
int adViewCount = (int32_t)[_nativeAdViewArr count];
[self genAdScrollView];
PCNativeAdView *adView = [PCNativeAdView initWithNib];
CGRect rect = adView.frame;
rect.origin.x = (rect.size.width + 10)*adViewCount;
adView.frame = rect;
[_adScrollView addSubview:adView];
[_nativeAdViewArr addObject:adView];
[_adScrollView setContentSize:CGSizeMake((rect.size.width + 10)*(adViewCount + 1), 189)];
adView.adIconImageView.image = [UIImage imageWithData:iconImageData];
adView.adCoverImageView.image = [UIImage imageWithData:coverImageData];

adView.adTitleLabel.text = nativeAd.title;
adView.adBodyLabel.text = nativeAd.body;
adView.adSocialContextLabel.text = nativeAd.socialContext;

NSLog(@"Register UIView for impression and click...");
[nativeAd registerViewForInteraction:adView
withViewController:self];
if ([_nativeAdViewArr count] == 3)
{
[self reloadSubViewRect:-1];
}
});
});


}


How to embed custom HTML5 Player on Facebook post?

Thanks for reading my question


I've googled enough to die, to find how to embed custom HTML5 Player on Facebook post. I've seen Youtube, Soundcloud, (and recently Sketchfab).. links when share on Facebook, it will be transformed into HTML5 player. I knew how to embed custom Flash player, but it's really hard to embed custom HTML5 player.


I've tried to use all OG tag they (Youtube, Sketchfab) used, I bought SSL certificate to have HTTPS url, ... but when share on Facebook, my link won't transform to HTML5 player...


Maybe only selected companies can use this feature?


Thanks a lot


How to get current HTML source of AJAX page using facebook WebDriver?

Hi I am a facebook Webdriver newbie. I need help on getting HTML source of an AJAX page.


Here is my expected results:



$first == HTML source of the 1st page.
$second == HTML source of the 2nd page.


But my Output:



$first == HTML source of the 1st page.
$second == $first


However, I could get the HTML source of the 2nd page when I landed on the 3rd page. I don't know why I can not get the current HTML on Current page.


Please Help!


Here is my code (using selenium-server-standalone-2.44.0.jar):



$host = 'http://localhost:4444/wd/hub';
$capabilities = DesiredCapabilities::firefox();
$driver = RemoteWebDriver::create($host, $capabilities, 5000);

// Openning page
$driver->get('http://ift.tt/1wtsW1j');

// Click 'Search'
$driver->findElement(WebDriverBy::className('yellow-submit'))->click();

// Wait until Ajax part loaded
$driver->wait(40)->until(
WebDriverExpectedCondition::presenceOfAllElementsLocatedBy(
WebDriverBy::className('actions-container')
));

// Print HTML of the 1st page
$first = $driver->getPageSource();
print_r($first);

// go to 2nd page
$driver->findElement(WebDriverBy::id('next'))->click();

// Wait until the 2nd page is loaded
$driver->wait(40)->until(
WebDriverExpectedCondition::presenceOfAllElementsLocatedBy(
WebDriverBy::className('actions-container')
));

// Print HTML of the 2nd page
$second = $driver->getPageSource();
print_r($second);

$driver->quit();

Facebook Audience SDK

I am trying to display Banner Ads in any of my android Apps the last couple of weeks.


I do get the Test-Banner if I add my device as testdevice. I do get Interstitial Ads


But I do not get any Banner. Logcat gives me "I/Facebook Error﹕ frequent load" on any of my devices (5 tested), also tested deifferent advertiser ids from facebook.


Does anybody else have this issues?


EDIT: After installing the facebook app on any of these test devices I do get Banner Ads delivered. Why do they only deliver ads to users with the facebook ad installed?


Facebook SDK instruction not making sense about app id

I have taken a picture of the Facebook instruction below. What is wrong with it? My app keeps crashing with exception concerning ApplicationId should not be null. But I have added my app id as <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/> in the manifest; that is after adding it as a string in the strings.xml resource as <string name="facebook_app_id">0000000000</string>


So I figure the instructions is wrong because it does not say which uses-permission to add and it says to call the string resource key com.facebook.sdk.ApplicationId with value Facebook_app_id. Here is the link http://ift.tt/1ydPkvr


enter image description here


Idea for a project involving social media and ecommerce

I've been looking for an idea for a project incorporating social media functionalities into an eCommerce platform. I will be building my solution on top of the Hybris and ATG exemplary stores.


I'm looking to integrate Facebook and Google+, possibly also Twitter.


My current ideas, apart from the usual like, share, tweet, +1, involve:



  • Facebook comments at the bottom of each product page

  • Recommendations feed, which displays the most recommended content on the site

  • Open Graph Tags - adding them to the < head > of the page will provide the crawler with structured info for the content


However, I feel that these are simple functionalities that can be implemented in a rather short period of time and don't require a lot of effort.


Therefore I am looking for something a bit more challenging. A friend of mine suggested I looked into neo4j. It looks promising, however I haven't got a good idea of how I could use it in my project.


Have you got any interesting ideas for me? :)


Facebook Unity3D

I'm trying to integrate my Unity game with facebook and I've got some problem. I've wrote something like that:



void Awake()
{
FB.Init(onInitComplet, onHideUnit);
Debug.Log("Initialized!");
}

private void onInitComplet()
{
Debug.Log("FB initialized");
}

private void onHideUnit(bool isGameShown)
{
if (!isGameShown)
{
Time.timeScale = 0;
}
else
{
Time.timeScale = 1;
}
}


And when I'm starting game, I get error:



NullReferenceException: Facebook object is not yet loaded. Did you call FB.Init()?
FB.get_FacebookImpl () (at Assets/Facebook/Scripts/FB.cs:31)
FB.Init (Facebook.InitDelegate onInitComplete, System.String appId, Boolean cookie, Boolean logging, Boolean status, Boolean xfbml, Boolean frictionlessRequests, Facebook.HideUnityDelegate onHideUnity, System.String authResponse) (at Assets/Facebook/Scripts/FB.cs:160)
FB.Init (Facebook.InitDelegate onInitComplete, Facebook.HideUnityDelegate onHideUnity, System.String authResponse) (at Assets/Facebook/Scripts/FB.cs:92)
FBHolder.Awake () (at Assets/Scripts/Facebook/FBHolder.cs:25)


What can be wrong?


Facebook Comment Analysis

How can I collect all 1,000+ comments on a post quickly without having to press "View more comments" at the bottom of the post's comment list? I am familiar with Python and Perl. Can I automate clicking somehow? I just need to collect all the comments into a text file.


Parse.com "access denied" when importing images - Access denied on images (Request failed: forbidden (403))

I'm using parse.com and I can't get access to my images after importing a database to a new application in the same account. I have 1 account and in that account I have created 2 apps [1 for production and 1 for development].


The steps I followed:




  1. I export a table from the production database (with images) and get it sent to me via email.




  2. Then I goto my development app [in same account] and import the data.




  3. Importing performs with success but when I make doubleclick on image value (the name of the file is displayed in the cell) I see the xml with "Access denied" in several fields instead of showing the image.




I have looked online and see that this issue occurs when transferring data across accounts but apparently it should work for apps under the same account, however mine is not... any ideas?


PS I have also tried the new "clone" feature but this doesn't allow for data to be cloned yet so I attempted to do this manually and still got same result.


How do I post to a friend's Timeline using the Android SDK using FacebookDialog

I am working with the facebook SDK and attempting to post things to a friend's timeline. I am able to post to my own timeline without any problem, but the minute I choose someone else's it errors out.


After doing some research, it seems like the problem is deprecated API related and now you must "mention" them in your post to tag them. This is all fine and dandy, BUT, the issue is, the facebook SDK still allows them to choose that option:


Post Something Option Still exists Choose Friend Error Happens


As a result of this, it gives a toast error and then pops up something in the notification bar which does an endless loop of "try again" and failing constantly. This gives the impression to the user that I did not program it correctly, when it is a facebook issue...


Does anyone have any recommendations or ideas on how to eliminate the option to share with friends or hide it? Thanks!


-Silmarilos


Combine Facebook login and permission request into one

I am trying to create a dialog that asks users to login with Facebook. In reality I don’t care much for the login per se: all I really want is permission to post photos on behalf of the user; nothing else. Below is my Dialog in its entirety. Will someone please correct the code for me? Right now its crashing with some NPE within the Facebook library. I compare my code with the sample HelloFacebookSampleActivity. I can see that the two are obviously different. But I can’t seem to fix mine correctly. Again, I am hoping to at once ask the user to Login and get the permission as opposed to doing it in two steps.



public class FacebookOptInFragment extends DialogFragment {
private final String TAG = FacebookOptInFragment.class.getSimpleName();
private LoginButton loginButton;
private GraphUser user;
private static final String PERMISSION = "publish_actions";

private UiLifecycleHelper uiHelper;

private Session.StatusCallback callback = new Session.StatusCallback() {
@Override
public void call(Session session, SessionState state, Exception exception) {
onSessionStateChange(session, state, exception);
}
};

private void onSessionStateChange(Session session, SessionState state, Exception exception) {
if ((exception instanceof FacebookOperationCanceledException || exception instanceof FacebookAuthorizationException)) {
new AlertDialog.Builder(FacebookOptInFragment.this.getActivity())
.setTitle("Cancel")
.setMessage("Permission not granted")
.setPositiveButton("Ok", null)
.show();
}
updateUI();
}

private void updateUI() {
Session session = Session.getActiveSession();
if (session != null && session.isOpened()) {
//user has agreed to post photos… so make a note of that
}
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
getDialog().getWindow().requestFeature(Window.FEATURE_NO_TITLE);
View view = inflater.inflate(R.layout.facebook_optin, container);
loginButton = (LoginButton) view.findViewById(R.id.login_button);
loginButton.setUserInfoChangedCallback(new LoginButton.UserInfoChangedCallback() {
@Override
public void onUserInfoFetched(GraphUser user) {
FacebookOptInFragment.this.user = user;
updateUI();
}
});

return view;
}

}








Looking at the HelloFacebookSampleActivity, I see that the Login process is separate from the permission request process. Is there a way to combine the two? That is, when I ask a user to Login with Facebook, I “automatically” get the permissions I need. What I mean specifically is that I don’t want two different windows at two different times. This is important for my case because all I really want is the permission to share photos for the user; the login itself is irrelevant. So how might I combine the two?


The sample codes from HelloFacebookSampleActivity mentioned are


For Login



loginButton = (LoginButton) findViewById(R.id.login_button);
loginButton.setUserInfoChangedCallback(new LoginButton.UserInfoChangedCallback() {
@Override
public void onUserInfoFetched(GraphUser user) {
HelloFacebookSampleActivity.this.user = user;
updateUI();
// It's possible that we were waiting for this.user to be populated in order to post a
// status update.
handlePendingAction();
}
});


For permission request



session.requestNewPublishPermissions(new Session.NewPermissionsRequest(this, PERMISSION));


Will someone please show a complete code snippet showing how to ask for permission while login in. I am very new to this so filling in the blanks is difficult, so a complete snippet would be helpful, which is why I submit my entire class for editing.


Android Facebook LikeView onActivityResult not being called

Currently, I am trying to use LikeView without having the native FB app installed. This results in using WebView.


When the native FB app is installed, it returns back to the host app by calling onActivityResult of the host activity. However, when the native FB app is not installed, it resorts to WebView but does not call onActivityResult after returning.


I want to handle when the user is returned to my activity after the Like button is clicked. Works in case of Native app but does not work with WebView


How To Use Facebook Real Time API To Get The Number Of Likes On My Page?

I am trying to get real time updates of how many page like we have. I have been trying to use Facebooks real time API with no luck. I have looked for tutorials but the don't seem to be up to date. Does any one have any idea of how to get a real time count of Facebook likes from a page?


Thanks Fran


ionic/angular $state.go gives blank screen on change

I'm trying to implement a facebook login for my ionic app based on this tutorial Coenraets fb tutorial, but I am coming across some problems.


I use tabs in my app, but when I try and redirect a user to the login page (tab) if they are not logged in, the login page shows as being blank (the navigation bar is still at the top though). If I refresh the page though, the login page then shows correctly. I know it is at least trying to redirect the page because I can't go to other tabs, just always this blank login tab. Here is where I declare my tabs:



.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
//setup an abstract state for the tabs directive
.state('tab', {
url: "/tab",
abstract: true,
templateUrl: "templates/tabs.html"
})
.state('tab.login', {
url: '/login',
views: {
'tab-login': {
templateUrl: 'templates/tab-login.html',
controller: 'AppCtrl'
}
}
})
//example of another state
.state('tab.map', {
url: '/map',
views: {
'tab-map': {
templateUrl: 'templates/tab-map.html',
controller: 'MapController'
}
}
})


Here is what my Login Tab HTML looks like:



<ion-view title="Login" name="tab-login" hide-back-button="true" style="background: #1b5a83" hide-nav-bar="true">
<ion-content has-header="true" padding="true" ng-controller="AppCtrl">
<div class="list list-inset" style="background: #1b5a83">
<div class="item item-image" style="border:none;margin-top:50px;">
<img src="img/sociogram.jpg"/>
</div>
<button class="button button-block button-light" ng-click="facebookLogin()">
<i class="icon ion-social-facebook"></i>
&nbsp;Login with Facebook
</button>
</div>
</ion-content>


And here is where my redirection takes place inside the .run function:



.run(function($rootScope, $state, $ionicPlatform, $window, OpenFB) {
OpenFB.init(fbappid, 'http://localhost:8100/oauthcallback.html', window.sessionStorage);

$ionicPlatform.ready(function() {
$rootScope.$on('$stateChangeStart', function(event, toState) {
if (toState.name !== "tab.login" && toState.name !== "tab.logout" && !$window.sessionStorage['fbtoken']) {
$state.go('tab.login');
event.preventDefault();
}
});

$rootScope.$on('OAuthException', function() {
$state.go('tab.login');
});
})


Any ideas where I am going wrong??? Thanks


Eclipse: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl

A similar question has been asked for Android Studio. But I am an eclipse user.


I am including the Facebook SDK in my project. After adding the SDK, when I run the program, I get the error


Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl


I tried cleaning and the error persists. Any ideas how to solve this issue? Again, I am using eclipse.


Android AccountManager, how to with GCM and FB

I just started to use AccountManager on android.


In my app I have two methods of authentication: email-password and Facebook.


First problem: I have to send to the server during login/signup the Google Cloud Message id, this implies I have eventually to do some async requests and also waiting for user interaction. How can I conciliate this with the method getAuthToken for autologin, which returns a bundle without using callback interfaces?


Second problem: When I login/sign up with Fb, I have to send some data to my server to receive a token. But I'll not have a password to save in the manager creating my account. Is there a "best practices" for this?


Facebook Scores API not working as expected

This issue can be related to: Facebook Scores API not publishing open graph stories


I post correctly scores (in graph explorer and activity log looks good), but something happens when I beat a friend´s score. I suppose Facebook should log something like "You beat your friend..." in the activity log, but instead of that, my activity logs clear completely. All the activity from that application is removed, and I can´t post more activity (if I do, an OG action or another score is not logged in the activity from that moment, in the code gives me a successful post).



#pragma mark Score
void Facebook::postScore(long score) {
this->setDirtyScore(score);
Request::requestForMyScore([=](int error, const Vector<GraphScore *> &scores){
if (!error) {
if (scores.size()) {
log("Score: old: %ld - new: %ld", scores.at(0)->getScore(), score);
if (scores.at(0)->getScore() < score) {
this->doPostScore(score);
} else {
this->clearDirtyScore();
}
} else {
//No score
this->doPostScore(score);
}
}
})->execute();
}

void Facebook::doPostScore(long score) {
Request::requestForPostScore(score, [=](int error, bool success){
if (success) {
this->clearDirtyScore();
}
})->execute();
}

void Facebook::setDirtyScore(long score) {
_data->set(FacebookDataDirtyScoreKey, score);
}

long Facebook::getDirtyScore() {
return _data->getLong(FacebookDataDirtyScoreKey);
}

void Facebook::clearDirtyScore() {
_data->clear(FacebookDataDirtyScoreKey);
}

Request *Request::requestForScores(const ScoresRequestCallback &callback) {
string appId = Session::getActiveSession()->getAppId();
CCASSERT(appId.length() > 0, "Request::requestForScores - check your code sir");
Request *request = new Request(appId + "/scores");
if (callback) {
RequestCallback wrapper = [=](int error, GraphObject *result){
Vector<GraphScore *> scores;
if (error == 0) {
scores = result->getPropertyAsList<GraphScore>("data");
}
callback(error, scores);
};
request->setCallback(wrapper);
}
request->autorelease();
return request;
}

Request *Request::requestForMyScore(const ScoresRequestCallback &callback) {
Request *request = new Request("me/scores");
if (callback) {
RequestCallback wrapper = [=](int error, GraphObject *result){
Vector<GraphScore *> scores;
if (error == 0) {
scores = result->getPropertyAsList<GraphScore>("data");
}
callback(error, scores);
};
request->setCallback(wrapper);
}
request->autorelease();
return request;
}

Request *Request::requestForPostScore(long score, const PostScoreRequestCallback &callback) {
Request *request = new Request("me/scores");
request->setMethod(Method::POST);
if (callback) {
RequestCallback wrapper = [=](int error, GraphObject *result){
callback(error, !error);
};
request->setCallback(wrapper);
}
ValueMap params;
params["score"] = utils::StringUtils::toString(score);
request->setParams(params);

return request;
}


Any suggestions? Seems to be a FB problem, but maybe I´m doing something wrong.


Facebook javascript api - One or more of the given URLs is not allowed by the App's settings

I have a simple application that I'm hosting on bluemix.


I have set up a Single Sign On service for my application and paired it with facebook. I can successfully log in using the SSO service from bluemix and then I want to check that status of my login (I am logged in or not).



function CheckStatus(){
console.log("I'm trying to check the status");
FB.getLoginStatus(function(response) {
console.log("Here is the status response:");
console.log(response.status);
});

}


I trigger this piece of code with a simple button defined before. Whenever I click the code I get the following error:



Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.



I had a look at a number of posts on stackoverflow about this and none of them seem to work. My understanding is that there is something wrong with the configuration of my application but I can't figure out what.


Below is my configuration: enter image description here


And this is the url my application is trying to reach when I try to get my login status:



http://ift.tt/1LQOxrz


I am out of ideas about what I should be trying next. Any help is very much apreaciated. Let me know if you need more info.


Cant login more than one user Facebook Parse

Hi I'm using the Parse Login Ui to let the user log into the app with facebook. (http://ift.tt/1wyck9T) This is working nicely, however when the user logs out, and a different user tries to log in on the same device an error message is displayed, saying that the App is not correctly set-up. It is as if the App is hard coded to be used by only one user (the first one to use it).


Any ideas how to solve this problem would be appreciated.


Thanks a lot, Bart


Facebook PHP SDK, adding a user to website's backend

I currently use the Facebook JavaScript SDK to retrieve the e-mail address of the current logged in user in Facebook. So a user clicks Log-in, their email address is displayed in a form field, then they either register or log-in (if they have previously registered).


I have been asked to make it so clicking "Log-in" actually logs them in to the site automatically. I do not understand how this is possible as currently to log-in you require a username and password.


Do I need to actually insert a user into the website's backend?


Not sure if this is allowed but www.dealdash.com is an example of what I need. If you click Log in in the top right of the screen then Sign in with Facebook - it asks you for permission and then afterwards you are logged in.


Can a Facebook test offer be created from a test page with 50+ likes from test users?

I'm trying to test Facebook offers. I figured if I create a test page (test user of my app creates a page).Then I use other test users of my app to get 50+ likes. I figured I should be able to create a test offer. My test page type is "Bank/Financial Services".


The test page has 53 likes now, but I still cannot create an offer.


Do I just need to give it time or is this even possible?


Android - Facebook Custom Story image not displayed

I got a custom story set up on my Facebook Developer for my app and I want to share a story with Android Facebook SDK. With the debug version of the app everything works fine, but when i sign it with my release key the preview just show me the website title ande the Facebook app image instead of the "object" title and image. Here's my code:


OpenGraphAction action = GraphObject.Factory.create(OpenGraphAction.class);



OpenGraphObject ogobj = OpenGraphObject.Factory.createForPost("item");
ogobj.setProperty("title", fb_data.getTitle());
ogobj.setProperty("image", obj.getPhotos().get(0));

ogobj.setProperty("description", fb_data.getDesc());
ogobj.setProperty("url", fb_data.getUrl());

List<Bitmap> shareImages = new ArrayList<Bitmap>();
shareImages.add(arg0);

action.setType("myapp:share");
action.setProperty("item", ogobj);

FacebookDialog shareDialog = new FacebookDialog.OpenGraphActionDialogBuilder(Act_object.this, action, "item")
.build();

uiHelper.trackPendingDialogCall(shareDialog.present());


The action "share" has been approved by Facebook. If I don't set the "url" property, the dialog (in signed apk) doesen't show and logcat gives me this:



02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): com.facebook.http.protocol.ApiException: [code] 100 [message]: (#100) conflicting og:type found in path (myapp:item) and 'properties' (item) [extra]:
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseChecker.b(ApiResponseChecker.java:104)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseChecker.a(ApiResponseChecker.java:137)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseChecker.a(ApiResponseChecker.java:234)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseChecker.a(ApiResponseChecker.java:185)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.JsonResponseHandler.a(JsonResponseHandler.java:34)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseHandler.b(ApiResponseHandler.java:91)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseHandler.a(ApiResponseHandler.java:54)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.ApiResponseHandler.handleResponse(ApiResponseHandler.java:29)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:738)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:214)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:167)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.common.FbHttpRequestProcessor.a(FbHttpRequestProcessor.java:323)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.SingleMethodRunnerImpl.a(SingleMethodRunnerImpl.java:550)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.SingleMethodRunnerImpl.b(SingleMethodRunnerImpl.java:257)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.http.protocol.AbstractSingleMethodRunner.a(AbstractSingleMethodRunner.java:20)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.platform.common.server.SimplePlatformOperation.a(SimplePlatformOperation.java:39)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.platform.common.server.PlatformOperationHandler.a(PlatformOperationHandler.java:59)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.fbservice.service.BlueServiceQueue.e(BlueServiceQueue.java:376)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.fbservice.service.BlueServiceQueue.d(BlueServiceQueue.java:62)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.fbservice.service.BlueServiceQueue$3.run(BlueServiceQueue.java:293)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at com.facebook.common.executors.ListenableScheduledFutureImpl.run(ListenableScheduledFutureImpl.java:60)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at android.os.Handler.handleCallback(Handler.java:739)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at android.os.Handler.dispatchMessage(Handler.java:95)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at android.os.Looper.loop(Looper.java:135)
02-24 16:29:21.129: W/fb4a(:<default>):BlueServiceQueue(9229): at android.os.HandlerThread.run(HandlerThread.java:61)


Can't really understand what I do wrong... Thanks in advance


EDIT: This is my new code and now I can put the image on my story



OpenGraphAction action = GraphObject.Factory.create(OpenGraphAction.class);

OpenGraphObject ogobj = OpenGraphObject.Factory.createForPost("myapp:item");

ogobj.setTitle(fb_data.getTitle());
ogobj.setProperty("name", fb_data.getTitle());
ogobj.setImageUrls(Arrays.asList(obj.getPhotos().get(0)));
ogobj.setUrl(fb_data.getUrl());
ogobj.setProperty("user_generated", "true");

List<Bitmap> shareImages = new ArrayList<Bitmap>();
shareImages.add(arg0);

action.setType("myapp:share");
action.setProperty("name", fb_data.getTitle());
action.setProperty("title", fb_data.getTitle());
action.setProperty("image", obj.getPhotos().get(0));
action.setProperty("item", ogobj);

FacebookDialog shareDialog = new FacebookDialog.OpenGraphActionDialogBuilder(Act_object.this, action, "item")
.build();

uiHelper.trackPendingDialogCall(shareDialog.present());


This is what I see with the signed APK: enter image description here


Instead it should be like this (this is what happens with the debug app)


enter image description here


Prova3 is the name fb_data.getTitle() and the image is obj.getPhotos().get(0)


Facebook "Send Dialog" - how to track referrals

I am trying to use Send Dialog of facebook on my site (http://ift.tt/1sEcgXR)


I need to know if there is a way to track Referrals with this dialog? just as there is a ref param with Send Button (http://ift.tt/1jaORGY).


I tried adding ref in the FB.ui as a param, but doesnt work..


Facebook share on a different domain than your app configuration?

This is the code for the share button:



FB.ui({
method: 'share',
href: 'http://cheese.com/',
});


I have multiple domains reusing one app id. We did some workarounds for logging in etc. But at least I hoped the share button would just work. But this gives me a classic:



Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.



The error makes sense: I try to share something on another domain. But why is there this limitation in the first place? Is there a workaround?


Note that the send link dialog doesn't give any problems:



FB.ui({
method: 'send',
link: 'http://cheese.com/',
});


What's so different between share and send?


Facebook API Multi-Friend Selector

i try send message to select friends, i found example http://ift.tt/1G0CxVZ , but when i try send message, for example:



FB.ui({method: 'apprequests',
to: id,
title: 'My Great Invite',
message: 'Check out this Awesome App!'
});


where id is Invite Token i have error:



does not resolve to a valid user ID



Thanks for your help.


Can't query for multiple posts with likes count

I want to query Graph API for a set of posts (with ids of them). Let's assume i've got an array {firstId, secondId ...}. One way i've tried is:



v2.2/?ids=firstId,secondId...


Which works good as long as i dont want to get the likes/comments count summary through adding any "fields" param.



?fields=likes.limit(1).summary(true),comments.limit(1).summary(true)


Any ideas on how to merge ids with fields params in one request?


facebook sdk directX application windows Phone 8.1

I have working DirectX native windows phone game and I need to add facebook login support. I was trying to use facebook package (nuget package) from http://facebooksdk.net/ but it cannot be insyalling with error



PM> Install-Package Facebook -Version 6.8.0
Installing 'Facebook 6.8.0'.
Successfully installed 'Facebook 6.8.0'.
Adding 'Facebook 6.8.0' to facebook_phone.
Uninstalling 'Facebook 6.8.0'.
Successfully uninstalled 'Facebook 6.8.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'Facebook 6.8.0'. You are trying to install this package into a project that
targets 'Native,Version=v0.0', but the package does not contain any assembly references or content files that are compati
ble with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package Facebook -Version 6.8.0
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand


Also I was trying to install package for C# class library. It is installed but there are very few classes and nothing that was mentioned in documentation.


What can I add facebook login support?


In facebook select date range insights of the page using nodejs

In nodes I am using the FB module for getting Graph API for getting insights on the page. For that i am giving request like


http://ift.tt/1AAejyp


And I tried to manually hit in browser like


http://ift.tt/1wq0JZp


I refer following link and based on the instruction I tried some request, but I am getting only empty data even it has a data.


select date range to get insight of the page || get insights data of facebook page http://ift.tt/1ypPqnQ http://ift.tt/1dj5Hzc


Dygraph multiple plots - turn them on and off with R and dySeries options

Good afternoon everyone, I am discovering dyGraph for R and it is an amazing tool. I need to plot only two variables ("Lifetime.Engaged.Users" & "Lifetime.Post.Total.Reach") of my 32 variables xts matrix.


My problem is as follow, even if I specify the two series I want to be plotted (with dySeries), dyGraph plots all the 32 variables, making the graph totally unreadable. Here is the code.



# Read the insights from xls export
facebook.insight <- read.xlsx(
"Facebook Insights (Post Level)",
sheetIndex = 1)
# Convert the facebook insights to a Time Series with library(xts)
facebook.insight.TimeSerie <- xts(
facebook.insight[,-7],
order.by = facebook.insight$Posted
)
# Plot the desired series that are ("Lifetime.Engaged.Users" &
#"Lifetime.Post.Total.Reach") with dyGraph package

dygraph(facebook.insight.TimeSerie, main ="Facebook Insights") %>%
dySeries(name = "Lifetime.Engaged.Users", label = "Engaged Users") %>%
dySeries(name = "Lifetime.Post.Total.Reach", label = "Post Total Reach")


In conclusion, what shall I do to plot only the two desired series ("Lifetime.Engaged.Users" & "Lifetime.Post.Total.Reach"), without having to create 33 xts dataframes ?


NodeJS Facebook User Feed Subscriptions: Invalid OAuth access token

Am close to tearing my hair out (as a passionate developer, should), so hopefully I can get some help on this one. After reading a bunch of forums and sifting through facebook documentation, here is a log file of trying to make a subscription to user feed's. I really only need to know if the bottom set of API's I am running should work in theory. Here is my log:



*********************************************************
makeRequest - Host: graph.facebook.com - Path: /v2.2/{ app_id }/subscriptions?object=user
*********************************************************
Type: DELETE
*********************************************************
Wed Feb 25 2015 12:52:15 GMT+0000 (UTC) Server is listening on port 81
*********************************************************
makeRequest - Host: graph.facebook.com - Path: /oauth/access_token?client_id={ app_id }&client_secret={ app_secret }&grant_type=client_credentials
*********************************************************
Type: GET
*********************************************************
App Access Token: { app_token }
*********************************************************
makeRequest - Host: graph.facebook.com - Path: /v2.2/{ app_id }/subscriptions?&object=user&fields=feed&callback_url={ uri_encoded_ callback_url }&verify_token={ verify_token }&access_token={ app_token }
*********************************************************
Type: POST
*********************************************************
Success: {"error":{"message":"Invalid OAuth access token.","type":"OAuthException","code":190}}


So here I am first trying to delete any subscriptions currently active, then using the API to get issued a new application access token, and finally to make a new subscription. Here is my function to initialize this whole process:



function subscribe_facebook(http,https) {
var oauth_obj = getOauthObj('facebook');

// First Delete
var url = oauth_obj.subscription_url;
var host = splitUrl(url,"host");
var path = splitUrl(url,"path");

path += "?object=user";

makeRequest(http,host,path,80,'DELETE',function(ret){
// Get App Access Token
url = oauth_obj.access_token_url;
host = splitUrl(url,"host");
path = splitUrl(url,"path");

path += "?client_id=" + oauth_obj.app_id;
path += "&client_secret=" + oauth_obj.app_secret;
path += "&grant_type=client_credentials";

makeRequest(https,host,path,443,'GET',function(ret){
facebook_app_token = ret.toString().split('|');
facebook_app_token = facebook_app_token[1];
consoleLogger("App Access Token: " + facebook_app_token);

subscribe(https,'facebook',443,'POST',facebook_app_token,myServer);
});
});
}


And here is the subscribe function it enters:



function subscribe(http,type,port,method,access_token,myServer) {
var oauth_obj = getOauthObj(type);
var sub_post_data = "";
switch (type) {
case "facebook":
sub_post_data =
"&object=" + "user"+
"&fields=" + "feed"+
"&callback_url=" + encodeURIComponent(myServer + "/" + type) +
"&verify_token=" + "*****" +
"&access_token=" + access_token
break;
}

var host = splitUrl(oauth_obj.subscription_url,"host");
var path = splitUrl(oauth_obj.subscription_url,"path");
path += "?" + sub_post_data;

makeRequest(http,host,path,port,method,function(ret) {
consoleLogger("Success: " + ret);
});
}


Being that the OAuth is invalid, I'm assuming that I'm not passing the right parameters to the oauth API to do this or not - can someone steer me in the right direction?


Facebook Signin in a mobile App (backed by a REST API)

I have done some researching but I haven't find a clean explanation of how it all work.


I would like to know how does applicationa like Instagram, Wordcrack (online game), AirBnb and many other app have tier "Login with Facebook" done?


I currently work on the Java REST services that backups up an iOS app. If some one already has done a similar things in their app/server I would really appreciate some help


I'm not looking for ready to use code answer but more of a general idea of the architecture to achieve this.


thank you!


Facebook app, show 'review the info you provide' instead of 'public profile'

I created FB Login using facebook sdk. How can I achive 'review the info you provide' instead of 'public profile' on login popup window. My current permissions are public_profile, email, user_friends.


From:


enter image description here


TO :


enter image description here


NodeJS, Facebook GraphAPI: exchange token for access_token

I'm looking into "exchange code for access token" section in nodejs package's documentation.


In the first sample code snippet, it mentions code: 'code'.



FB.api('oauth/access_token', {
client_id: 'app_id',
client_secret: 'app_secret',
redirect_uri: 'http://ift.tt/1zSRfcH',
code: 'code'


My understanding of this is to get a value to replace 'code'. To get the value, I refer to the 2nd sample code snippet where the author teaches how to extract code out of an URL. However, the URL is predefined with a value.



var urlToParse = 'http://ift.tt/1M9xnbO';


I'm not sure how to get that URL. Could anyone advise?


Why '*' cannot be used in the header when the credentials flag is NOT true?

My CORS Request and Respond looks like this:


Request (A pre-flight request before POST)



OPTIONS /authenticate/facebook HTTP/1.1
Host: waycanon-test.herokuapp.com
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Access-Control-Request-Method: POST
Origin: http://127.0.0.1:8999
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36
Access-Control-Request-Headers: accept, x-auth-token, content-type
Accept: */*
Referer: http://ift.tt/1BFCyxK
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4,zh-TW;q=0.2
Response Headersview source


Respond



HTTP/1.1 204 No Content
Server: Cowboy
Date: Fri, 27 Feb 2015 09:34:30 GMT
Connection: keep-alive
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Referer, User-Agent, X-Auth-Token
Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 1728000
Allow: *
Content-Length: 0
Via: 1.1 vegur


And I got the error information below in browser (Chrome/Safari)



XMLHttpRequest cannot load http://ift.tt/1Dy349G. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0.0.1:8999' is therefore not allowed access.



I saw another post similar to my issue. But this still looks very confusing to me because I haven't used the Access-Control-Allow-Credentials flag in the Header? Does anyone have ideas about this?


Grant Access to App if Liked our page on Facebook?

Having googled various iterations and looked at the Facebook info I'm none the wiser.


What I'm looking to do is have the ability to cross reference my business page on Facebook and where a user has Liked our page they can then login to our app, thus if they unlike us their account is disabled?


Basically having written a free app that could be widely used for what our business provides we get a simplified marketing strategy.


The app I have is built around jQuery Mobile and links to a MySQL database.


Would the user register an account with me and then Like us on Facebook for us to cross reference the FaceBook API's? or would I have to have full FaceBook login? Or even worse is this not possible?


jeudi 26 février 2015

calculate the no of responses in facebook messages

My data set is a list of all the messages exchanged between two people on facebook. I want to find how many responses they are in total between the two people as illustrated below. What would be a good way to achieve this using php?


Thanks in advance


http://ift.tt/181Wdd6


Facebook JavaScript SDK: Read App URL

I have an app with a secure canvas URL, I'm using the JavaScript SDK. Let's say this is the url: http://ift.tt/1JQBOtn


I'd like to read in my canvas (inside of an iframe on facebook) the url of the app, so that I can read the request ids passed from notifications.


For example:


http://ift.tt/17B9Zni


How do I do that?


Can't query for multiple posts with likes count

I want to query Graph API for a set of posts (with ids of them). Let's assume i've got an array {firstId, secondId ...}. One way i've tried is:



v2.2/?ids=firstId,secondId...


Which works good as long as i dont want to get the likes/comments count summary through adding any "fields" param.



?fields=likes.limit(1).summary(true),comments.limit(1).summary(true)


Any ideas on how to merge ids with fields params in one request?


Can't query for multiple posts with likes count

I want to query Graph API for a set of posts (with ids of them). Let's assume i've got an array {firstId, secondId ...}. One way i've tried is:



v2.2/?ids=firstId,secondId...


Which works good as long as i dont want to get the likes/comments count summary through adding any "fields" param.



?fields=likes.limit(1).summary(true),comments.limit(1).summary(true)


Any ideas on how to merge ids with fields params in one request?


Get login status of a user Facebook

How to get the login status of a user by using their Unique ID?


Using getLoginStatus() the status of user currently logged in to my app can be retrieved. But i would like to know how to get status of another user.


Login failed or closed with Cordova Facebook plugin in iOS

I am making an application where I use CordovaFacebook to do the facebook login and registration.


The initialization goes through, and opens the facebook app but then closes with the message 'login failed or closed'.


Did anyone experience this issue? Did you find any solution? I am running the app in iOS.


Xamarin Auth: Display loading message while webpage is loading

I'm developing an app using Xamarin, and I'm trying to use Xamarin.Auth to add Facebook authentication. Everything works fine and I manage to connect successfully.


However, when you don't have Facebook app on your device, it uses the webpage version. While downloading the page, it only shows a blank screen and seems like it has crashed (but it's not). I want to display a loading message while the webpage is downloading to let the user know that it didn't crash at all and he has to wait a little bit and to dismiss it when the download is complete.


Thanks for reading and I hope that you can help me out...


iOS Facebook SDK Linking with Unity on Simulator Issue

Currently getting the following when trying to link for the simulator, works fine on hardware. Using the latest Facebook SDK.



Undefined symbols for architecture i386:
"_UnityGetGLViewController", referenced from:
_FBNativeAdClick in FBAudienceNetwork(FBNativeAdCBridge.o)
ld: symbol(s) not found for architecture i386


Anyone else have seen this?


Facebook Android SDK returns always an error in response (SSLHandshakeException)

I have an app with a login process, that the user can complete with his Facebook account. The app only requires permissions to read the user's public profile. I've setup the Facebook SDK version 3.23.0 in Android Studio. The login process runs perfectly, and the app has an open active Session with its right token, but whenever I try a newMeRequest, the response always returns the following error:


javax.net.ssl.SSLHandshakeException: java.lang.ClassCastException: com.android.org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey cannot be cast to java.security.interfaces.RSAPublicKey


This is the source code of my request:



com.facebook.Request request = com.facebook.Request.newMeRequest(session, new com.facebook.Request.GraphUserCallback()
{
@Override
public void onCompleted(GraphUser user, com.facebook.Response response)
{
// If the response is successful
if (session == Session.getActiveSession())
{
if (user != null)
{
// do some things ...
}
}
if (response.getError() != null)
{
// handle errors
}
}
});
request.executeAsync();


I've checked the request's URL in a browser and it works. I don't have a clue about what's happening in the object Response. Any help would be truly appreciated.


Thanks in advance, kind regards


Explicitly set the size of FB.Login()?

Currently I'm using the following function to instantiate a login dialog using Facebook Javascript SDK



function fbLogin() {
FB.login(function (response) {
if (response.status === 'connected') {
// Logged into your app and Facebook.
window.top.location = "http://ift.tt/1BAb2BC";
} else if (response.status === 'not_authorized') {
// The person is logged into Facebook, but not your app.
alert("2");
} else {
// The person is not logged into Facebook, so we're not sure if
// they are logged into this app or not.
alert("3");
}
},{scope: 'email'});
}


Is there any way to control the size of the popup that appears ? say for example, 500 x 500 px ?


Thanks


Idea for a project involving social media and ecommerce

I've been looking for an idea for a project incorporating social media functionalities into an eCommerce platform. I will be building my solution on top of the Hybris and ATG exemplary stores.


I'm looking to integrate Facebook and Google+, possibly also Twitter.


My current ideas, apart from the usual like, share, tweet, +1, involve:



  • Facebook comments at the bottom of each product page

  • Recommendations feed, which displays the most recommended content on the site

  • Open Graph Tags - adding them to the < head > of the page will provide the crawler with structured info for the content


However, I feel that these are simple functionalities that can be implemented in a rather short period of time and don't require a lot of effort.


Therefore I am looking for something a bit more challenging. A friend of mine suggested I looked into neo4j. It looks promising, however I haven't got a good idea of how I could use it in my project.


Have you got any interesting ideas for me? :)