[Solved] Facebook friends list in swift

You haven’t given much code, but it looks like you are forgetting to cast your data array after you’ve retrieved the information. It’s kind of hard to tell without looking at your other code, but you might find this answer useful. Here is an example of proper data casting and retrieval. func tableView(tableView: UITableView!, didSelectRowAtIndexPath … Read more

[Solved] Facebook messenger bot Webhook not working [closed]

Add the other user to be a tester for the Facebook app, this will give them access to the bot before it is formally approved by Facebook. EDIT: Information regarding messenger bot submission can be found here: https://developers.facebook.com/docs/messenger-platform/app-review 3 solved Facebook messenger bot Webhook not working [closed]

[Solved] rewrite this code to use in .NET 2.0? [closed]

Shoulbn’t be that hard to figure out but here: //instead of var use the actual type FacebookClient client = new FacebookClient(); //again use the actual type IDictionary<string, object> me = (IDictionary<string, object>)client.Get(“me”); string firstName = (string)me[“first_name”]; //May use ‘me[“first_name”].ToString()’ string lastName = (string)me[“last_name”]; string email = (string)me[“email”]; solved rewrite this code to use in .NET … Read more

[Solved] How do I use VBA to send cell contents to be used as a PHP variable in a Facebook Graph API call?

You could use a VBA macro like I created below. In my example I made the macro tied to a button click Sub Button1_Click() Set objHTTP = CreateObject(“MSXML2.ServerXMLHTTP”) URL = “http://www.yourdomain.com/page.php?variable=” & ActiveWorkbook.Worksheets(1).Range(“A1”).Value objHTTP.Open “GET”, URL, False objHTTP.setRequestHeader “User-Agent”, “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)” objHTTP.send (“”) End Sub Your PHP script on your … Read more

[Solved] How to get a Facebook user’s profile picture in php

To show image in page <img src=”https://graph.facebook.com/{{fid}}/picture”> To save $image = file_get_contents(‘https://graph.facebook.com/’.$fid.’/picture?type=large’); $dir = dirname(__file__).’/avatar/’.$fid.’.jpg’; file_put_contents($dir, $image); Facebook Graph API http://graph.facebook.com/abdulla.nilam/picture 1 solved How to get a Facebook user’s profile picture in php

[Solved] Convert or Execute an CURL Request for Rails Application

Use the rest-client gem.You can make HTTP request from your controller using this. Their github page has examples explaining how to make reuqest along with paramters. A simple get request may look like this: RestClient.get ‘”https://graph.facebook.com’, {params: {‘scrape’=> true, ‘access_token’ => ‘your_access_token’}} solved Convert or Execute an CURL Request for Rails Application

[Solved] how do i get gender from facebook public profile Facebook IOS Swift SDK

You can get these details using Graph api. Check this link https://developers.facebook.com/docs/graph-api/reference/user let request = FBSDKGraphRequest(graphPath: “\(user-id)”, parameters: [“fields” : “id,name,email,birthday,gender,hometown” ], httpMethod: “GET”) request?.start(completionHandler: { (connection, result, error) in // Handle the result }) solved how do i get gender from facebook public profile Facebook IOS Swift SDK

[Solved] Get Simple Facebook Profile Data Via PHP SDK [closed]

-Download SDK from developers.facebook.com and upload the folder “Facebook” on your web space; -Create a Facebook application; -Put this code in the same folder of “Facebook”: <?php session_start(); require_once(‘Facebook/Entities/AccessToken.php’); require_once( ‘Facebook/FacebookSession.php’ ); require_once( ‘Facebook/FacebookRedirectLoginHelper.php’ ); require_once(‘Facebook/HttpClients/FacebookHttpable.php’); require_once(‘Facebook/HttpClients/FacebookCurl.php’); require_once(‘Facebook/HttpClients/FacebookCurlHttpClient.php’); require_once( ‘Facebook/FacebookRequest.php’ ); require_once( ‘Facebook/FacebookResponse.php’ ); require_once( ‘Facebook/FacebookSDKException.php’ ); require_once( ‘Facebook/FacebookRequestException.php’ ); require_once( ‘Facebook/FacebookAuthorizationException.php’ ); require_once( ‘Facebook/GraphObject.php’ … Read more