[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