Has Facebook peaked? Everyone with internet access already has an account. Younger kids prefer instagram (albeit fb owned) and snapchat, and Facebook is being seen as where your parents and grandparents go to share family photos. Will they pivot? Either way they're making a serious amount of money that could, and is, being spent on other technologies like VR, etc. but what do you think will become of Facebook in its current form? Will Facebook messenger go thr eay of AOL Instant Messenger? Oh, how I miss the aim days!

Member Avatar
+0 forum 0

Hi guys, this is my first post here. I built Fb app around 2010 and then it was much easy to get started. But after 6 years I am starting again to develop my 1st app after tha gap. But now it's been hard, as I need HTTPS for the hosting. So I set my *WAMP* server to have SSL with *OpenSSL* and now can open the localhost with https though it shows a warning that the certificate is not trusted. **I'm asking you guys to show me copy-paste ready Fb app built on PHP just to show the User …

Member Avatar
+0 forum 0

Am trying to write asimple python programm that harvest data from facebook . like if i type in akey word like "new york" it brings me all events posted on facebook with a connection to newyork.

Member Avatar
-2 forum 0

Hello Daniweb Community, I'm wanting to incorporate my Facebook pages reviews into my website but I can't see the manage to get a permanent access token. I've tried the same key (which is permanent) that I use to get the news feed but that doesn't work with the reviews. At the moment I'm using [THIS](https://www.daniweb.com/programming/web-development/code/451463/facebook-news-feed-api) method which I posted here on Daniweb. So what I'm wanting to know is there a way to get a permanent access token, the tempoary ones work but I'd rather not have to keep changing them when they run out.

Member Avatar
+0 forum 0

Hello i have implemented a Facebook invite friends script to my website so that my users may invite their facebook friends to the website. The scripts show only one of the friends and there is no option (link or what ever) for the user to invite even the one friend to the website. Here is the code? Does anyone knows something better than me? <?php $sApplicationId = '349547122654312'; $sApplicationSecret = 'e35030c2511342a692345e4fce16817c'; $iLimit = 99; ?> <center> <h1>Authorization step:</h1> <div id="user-info"></div> <button id="fb-auth">Please login here</button> </center> <div id="result_friends"></div> <div id="fb-root"></div> <script> function sortMethod(a, b) { var x = a.name.toLowerCase(); var y …

Member Avatar
+0 forum 0

I want to make info (email and password) entered previously in two text labels in a VB application to be put automatically in the Facebook page or any other social network in my default web browser and login automatically. (Of course after clicking AcceptButton in the VB program). -I'm using VB 2010 Express

Member Avatar
+0 forum 0

Hey guys, Is there any one who knows how to get a session from access_token? In Facebook PHP SDK v5 I can get access_token, but I don't know how to get a session so as to retrieve feeds. According to Facebook PHP SDK v5 and Graph API v 2.4 documentation([Click Here](https://developers.facebook.com/docs/graph-api/reference/v2.4/page/feed)), session is required to retrieve feeds from a facebook page. Here below is my codes <?php session_start(); require_once("Facebook/autoload.php"); use Facebook\Facebook; use Facebook\FacebookResponse; use Facebook\GraphNodes\GraphNode; use Facebook\Helpers\FacebookRedirectLoginHelper; class share_counter { public function get_feed() { $api_id="8888090....."; $api_secret="6786bdcd97b18e94b9......."; $url="http://localhost/feedreader/feeds.php"; $login=array("app_id"=>$api_id,"app_secret"=>$api_secret,"default_graph_version"=>"v2.2"); $fb=new Facebook($login); $helper=$fb->getRedirectLoginHelper(); try{ $access_token=$helper->getAccessToken(); $request = new FacebookRequest( $session, 'GET', '/{page-id}/feed' …

Member Avatar
+0 forum 0

Hello, I am used Wordpress-seo plugin by Yoast. When i share [article](http://gititsolution.com/angularjs-development) on facebook not allow me to share feature image. also check in [facebook degub](https://developers.facebook.com/tools/debug/) but not given solution. also ![attach](/attachments/large/4/19c2d2575845be8c218402bed55c6612.png "align-center") screenshot Suggest me solution. Thanks.

Member Avatar
+0 forum 0

I have a share button in my web page which is for sharing the post on facebook. Now the popup opens up and when I click on post it does not close the pop-up. I have implemented this as mentioned in How do I close the popup after I post to facebook? . I have used the below code for implementing the facebook feed FB.ui({ method: 'feed', link: shareLink, name: title, picture: picLink }, function(response) { window.close(); }); I am in development stage and I'm using a local server(localhost) and I have added this in the app settings at 'OAuth …

Member Avatar
+0 forum 0

Facebook error parsing input URL error 502 Bad Gateway I did plenty of research on trying to fix the issue, but I'm still having no luck with it. When I share my page I get 502 Bad Gateway on Facebook. I played around with the www.conf file because others had posted that it works for them, but no luck for me. I also restarted PHP-FPM and I still am getting the same results. connect() failed (111: Connection refused)

Member Avatar
+0 forum 0

How to when click on share button share on facebook post from website example: my website url : blog.com/name_of_post in my url show only title of post. How to share from every post on facebook?

Member Avatar
+0 forum 0

I just noticed tonight that the Login via Facebook feature hasn't been working for an embarassingly long time (aka multiple days). I checked it out, and apparently FB decided to change something on their end to break our OAuth integration. It was an easy fix, and it's working again. Sorry for the massive inconvenience!

Member Avatar
+2 forum 0

This is my process.php which I use to post data on my page's wall PHP Code: include_once("config.php"); //HTTP POST request to PAGE_ID/feed with the publish_stream $post_url = '/'.$userPageId.'/feed'; //after login redirect him and if i can get message submit it to page if(isset($_GET["message"])) { $msg_body = array( 'message' => $_GET["message"], ); try { $postResult = $facebook->api($post_url, 'post', $msg_body ); //header('Location: ' . $homeurl."?success=true"); $homeurl=$homeurl."?success=true"; echo "<script>window.location='$homeurl'</script>"; } catch (FacebookApiException $e) { echo $e->getMessage(); } } if($_POST) { //Post variables we received from user $userMessage = $_POST["message"]; if(strlen($userMessage)<1) { //message is empty $userMessage = 'No message was entered!'; } /* // …

Member Avatar
+0 forum 0

Dear all, In my website admin page.post a new property.the details are posted in my facebook fan page wall. I am using PHP SDK. Some times its working fine. Sometimes redirect to my return url it contains code parameter and stopped i am using this code Anyone help me <?php require_once 'src/facebook.php'; // configuration $appid = ''; $appsecret = ''; $pageId = ''; $msg = $_REQUEST['fbtitle']; $title = $_REQUEST['fbtitle']; $uri = $_REQUEST['fburl']; $desc = $_REQUEST['fbsum']; $pic = $_REQUEST['fbimage']; $facebook = new Facebook(array( 'appId' => $appid, 'secret' => $appsecret, 'cookie' => false, )); $user = $facebook->getUser(); // Contact Facebook and get …

Member Avatar
+0 forum 0

In my website admin page. I post a new property.the details are posted in my facebook fan page wall. I am using PHP SDK. Some times its working fine. Sometimes it ask swith account. and redirect to my return url contains code parameter and stopped Anybody Help me

Member Avatar
+0 forum 0

I'm working on Asp MVC 4 framework. in my "abc" page's layout file i added fb login dialog box and fb like button. `<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 = //connect.facebook.net/en_US/all.js#xfbml=1&appId=appid";fjs.parentNode.insertBefore(js, js); } (document, 'script', 'facebook-jssdk'));</script>` and now i added a partial view in "abc" page which is using the fb app request dialog. `<script src="//connect.facebook.net/en_US/all.js"></script> <script type="text/javascript"> FB.init({ appId: 'xxxxx', cookie: true, status: true, xfbml: true, frictionlessRequests: true }); function all() { FB.getLoginStatus(function (response) { if (response.status === 'connected') { var friend = new Array(); FB.api('/me/friends', function (response) { if (response.error) …

Member Avatar
+0 forum 0

I want to write a script that logs an user into Facebook and initialize oauth dialog to get the access_token(*I don't want to log in into a website using facebook account!*). I don't want to use facebook-sdk,pyfb etc. This is what I've tried: import sys, urllib2,json,urlparse,webbrowser, os, cookielib, re class Facebook(): def __init__(self, email, password): self.email = email self.password = password cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) opener.addheaders = [('Referer', 'http://login.facebook.com/login.php'), ('Content-Type', 'application/x-www-form-urlencoded'), ('User-Agent', 'Mozilla/8.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) \ Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)')] self.opener = opener def login(self): url = 'https://login.facebook.com/login.php?login_attempt=1' data ="locale=en_US&non_com_login=&email="+self.email+"&pass="+self.password+"&lsd=20TOl" usock = …

Member Avatar
+0 forum 0

Hi, First, I made a web page which only contains Facebook Comment API. (http://developers.facebook.com/docs/reference/plugins/comments/) This works fine in any internet browser such as FF and IE. I can leave a comment - submit button works fine. Also I can change the name. (We can have multiple names/pages in one account) Second, I made a WebBrowser in my form, and I had it navigated to the web page. webBrowser1.Navigate(new Uri("http://mydomain.com/comment.php")); Everything seems fine. The form displays the facebook comment properly and when I want to leave a comment, it gives me a popup up login window. Login seems working fine too …

Member Avatar
+0 forum 0

I am making an application which queries the database and posts on my facebook account wall. just like twitterfeed/social.But I am not using a blog.I want to have two parts in the application - 1. cron mode : finds the latest rows which come into the database and pushes them to the wall. 2. admin mode : select unpushed fresh rows which are in the database and can be selected from the dropdown or create a new one and push. The scripting platform can be php/python or any other common language.Please tell me how to go about this. Thanks.

Member Avatar
+0 forum 0

Hi all, I have created a small test app - And I want to login users when they first arrive to the app - and log them out and redirect them after they have used it. Quite simple right, but using facebook php sdk - I am not able to do such a thing. I can only login to the app, if i am logged in to my own private facebook account - so the getLoginUrl(); doesnt redirect if the user is not logged into his/her facebook account. And the log out, and setting sessions to null, session_destroy(); etc, doesnt …

Member Avatar
+0 forum 0

Hi, I have developed a app using facebook c# sdk.I got the api key from fb after making registration on api page.But the problem is no other user except me can't login into the app.Plz app

Member Avatar
+0 forum 0

Hi We have a lot of fan pages in facebook and Each page has its own subdomain for example: [url]http://page1.mysite.com/1.php[/url] [url]http://page2.mysite.com/2.php[/url] [url]http://page3.mysite.com/3.php[/url] "1 SSL will cover one domain and any sub-directories which you install;- but it will not cover sub-domains, each sub-domain would also require its own SSL" from october 1 ,facebook wants every subdomain to have a ssl ? This is crazy ! Does anyone have a solution ?

Member Avatar
+0 forum 0

[CODE]<div id="test1"><div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"> </script> <fb:comments href="http://www.jewelryfresh.com/" num_posts="10" width="739"></fb:comments></div>[/CODE] Above is the code for facebook comments box. I want to dynamically change the href value to the page on which it is. How can i do it.I do not want the static href value as it is now. Please help.

Member Avatar
+0 forum 0

Hi, I coded a script and I have started to use it with facebook apps. I want to set cookies while users are using my app. In firefox, cookies are working normally;however, the application do not set cookies in Internet Explorer and users cannot have any restriction. There are my codes using in order to set cookies: [CODE]$id=$_GET['id']; $oy=$_GET['oy']; if ( !isset($_COOKIE["$id"]) ) { // If the browser is Internet Explorer if(stristr($_SERVER['HTTP_USER_AGENT'],"MSIE")) { setcookie("$id", $id, time()+864000, "/", ".apps.facebook.com/myapplication"); // Other browsers } else { setcookie("$id", $id, time()+864000, "/", ".apps.facebook.com/myapplication"); } }[/CODE] These ways I have tried and I cannot get …

Member Avatar
+0 forum 0

Alright, so I'm getting the hang of this whole Facebook apps and fan pages. Now I am on to my next feat, being able to edit apps inside Fan pages. For example, the Static FBML App allows you to edit the apps content. Since the apps I create for clients are hosted on my webserver, I can also show them an editor so they too can edit their fan page app content. I was wondering, to make it simple, how would I include a Facebook Login button that would allow only that pages' administer to login and edit it? Is …

Member Avatar
+0 forum 0

I am developing a desktop application in Java which provides chat function to users. I am using smack API and I am using X-Facebook Platform for logging in. I have developed a class which can connect to facebook and authenticate if session key available. But I can't figure out how to do this? And also how can I set xmpp_login and offline_access permissions after logging in of user? I read the authentication documentation on Facebook but can't understand, url commands there require a redirect url for the app, but I have no url attached with the app as it has …

Member Avatar
+0 forum 0

Hi there. I'm currently using the code below to trigger the "Post To Wall" script in my Facebook iframe app (the script that allows a user to post a certain piece of content to their wall). I'm pretty dense with this stuff, so I was wondering how I go about - 1) Triggering it from a button / text link (at the minute it automatically pops up when you visit the page) 2) Have multiple variations of it within one page... for example I have various things on my page that I want people to be able to post about. …

Member Avatar
+0 forum 0

hi all, i have one problem with facebook landing page. i created facebook landing page through static fbml app but i have one problem with like button, user must like the page before he will navigate to another page. i want to do same functionality in my landing page, [URL="http://www.facebook.com/BusinessofCinema?v=app_6009294086"]http://www.facebook.com/BusinessofCinema?v=app_6009294086[/URL], [URL="http://www.facebook.com/HYPERARTS?v=app_7146470109&viewas=0#!/HYPERARTS?v=app_126026510774735"]http://www.facebook.com/HYPERARTS?v=app_7146470109&viewas=0#!/HYPERARTS?v=app_126026510774735[/URL]. anyone know about this please help me . thanks inadvance......

Member Avatar
+0 forum 0

I just wanted to learn to create facebook applications using python.I am new to web development of any sorts, so everything seems to be weird right now. Here is what i acquired by google searching pages: This is the facebook developers page: [url]http://developers.facebook.com/opensource/[/url] Only one link to python.. [url]https://github.com/facebook/python-sdk[/url] The downloaded file contains a small amount of python files, but they are asking for another module: google.appengine amongst others. I tried to search for some previous applied code using google code, but alas, it all made no sense to me..! If someone has ever worked on it before, then please …

Member Avatar
+0 forum 0

Hi everyone, I'm new study Facebook api. I use this code, but the resault is empty. Can anyone help me? Thanks. ps: i have replaced my api id, url ,secrect in it. [CODE]<form action ="index.php" method ="post"> <input type="text" value="what is?" name="search" style="color:#999;text-align:center;" onfocus="if (value =='what is?'){value =''}" onblur="if (value ==''){value='what is?'}"/> <input type ="submit" value="ok" /> </form> <?php function callFb($url) { $ch = curl_init(); curl_setopt_array($ch, array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true )); $result = curl_exec($ch); curl_close($ch); return $result; } $url = "https://graph.facebook.com/oauth/access_token?client_id=api_id&redirect_uri=my_url&client_secret=my_secrect&scope=offline_access,read_stream"; $access_token = callFb($url); $access_token = substr($access_token, strpos($access_token, "=")+1, strlen($access_token)); $url1 = "https://graph.facebook.com/search?access_token=".$access_token."&q=".urlencode($_POST['search'])."&type=user"; $ret_json = callFb($url1); $users …

Member Avatar
+0 forum 0

The End.