How to create Facebook sponsor post.

Member Avatar
Member Avatar
+0 forum 5

Hello, I own five groups on facebook and use my groups to promote my own services. I was thinking about coming up with a script (or is there a truly free, unlimited service?) that will "bump" posts by commenting on them. Or even post a brand new post using a template. Pinning the posts does not make them visible on facebook mobile (unless you click to watch the pinned post). So far I have the direct link to each post in an excel sheet so I just click the URL and it will open the post, then I type "bump" …

Member Avatar
Member Avatar
+0 forum 1

How can i design a simple php site with a database like facebook

Member Avatar
Member Avatar
+0 forum 2

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

The following on the attachment below are the page feeds with its comments returned by facebook PHP sdk and Graph API. What I want here is to get number of comments per user on each feed. Here are the codes $helper=new FacebookRedirectLoginHelper($url); try{ $session=$helper->getSessionFromRedirect(); if(isset($session)) { $request=(new FacebookRequest($session,"GET","/357971644373038/feed"))->execute()->getGraphObject()->asArray(); $comment=$request["data"]; $counter=count($comment,1); for($index=0; $index<$counter; $index++) { echo $request["data"][$index]->id."<br>"; echo $request["data"][$index]->message."<br><br>"; echo $this->get_stream(array("session"=>$session,"idfeed"=>($request["data"][$index]->id)))."<br><br>"; } // print_r($request); } else{ $permision=array("scope"=>"email,publish_actions"); echo "<a title=".$helper->getLoginUrl($permision)." href='".$helper->getLoginUrl($permision)."'>Login here</a>"; } } catch(Exception $ex) { } } private function get_stream($data) { $request=(new FacebookRequest($data["session"],"GET","/".$data["idfeed"]."/comments"))->execute()->getGraphObject()->asArray(); if(isset($request["data"])) { //$count=0; foreach($request["data"] as $result) { return json_encode($request["data"]); } // return json_encode($request["data"]); } } Please …

Member Avatar
Member Avatar
+0 forum 20

i have noticed that if you put the minimum per day money r10 in facebook ads your per click rate goes dow. but if you put more say r100 per day in spending your cost per like goes up. why is this so because it should be the same

Member Avatar
Member Avatar
+0 forum 1

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

Hi Guys I want to post on my facebook page by using Facebook PHP SDK v5. Here are my codes but after running, I get the following errors *Fatal error: Uncaught exception 'Facebook\Exceptions\FacebookAuthorizationException' with message '(#200) Insufficient permission to post to target on behalf of the viewer' in ................ My codes <?php session_start(); require_once("Facebook/autoload.php"); use Facebook\Facebook; use Facebook\FacebookRequest; use Facebook\GraphNodes\GraphNode; use Facebook\Helpers\FacebookRedirectLoginHelper; use Facebook\Exceptions\FacebookSDKException; use Facebook\Exceptions\FacebookResponseException; $api_id="8888090......."; $api_secret="6786bdcd97b18e94b9bbff4b2ecc723c"; $url="http://localhost/feedreader/feedpost.php"; $fb = new Facebook([ "app_id" => $api_id, "app_secret" => $api_secret, "default_graph_version" => "v2.2", ]); $linkData = [ 'link' => 'http://www.daniweb.com', 'message' => 'I Like DaniWeb IT Discussion Forum', ]; $helper=$fb->getRedirectLoginHelper(); try{ …

Member Avatar
Member Avatar
+0 forum 3

Here are my codes, I want to get access token after user login, but I don't know where am I wrong guys. I know to get access token in PHP SDK v4 but I think It's quite different in PHP SDK v5. Please help me guys <?php session_start(); require_once("Facebook/autoload.php"); use Facebook\Facebook; use Facebook\FacebookResponse; use Facebook\GraphNodes\GraphNode; use Facebook\Helpers\FacebookRedirectLoginHelper; use Facebook\Exceptions\FacebookSDKException; use Facebook\Exceptions\FacebookResponseException; $api_id="1"; $api_secret="2"; $url="http://localhost:80/feedreader/fdposter.php"; $fb = new Facebook([ "app_id" => $api_id, "app_secret" => $api_secret, "default_graph_version" => "v2.2", ]); $helper=$fb->getRedirectLoginHelper(); try{ $token=$helper->getAccessToken(); if(isset($token)) { echo "Successfully......"; } else{ $permision=array("scope"=>"email"); echo "<a href='".$helper->getLoginUrl($url,$permision)."'>Click to post</a>"; } } catch (Facebook\Exceptions\FacebookSDKException $e) { echo …

Member Avatar
Member Avatar
+0 forum 4

hello guys i need a real good ideas from u i want to create social networking program for c++ like instagram,facebook etc my general q: how to implement the coorect DSA structure on building profiles and mangae post comments message from other freinds and user?

Member Avatar
Member Avatar
+0 forum 2

I read a vary in-trusting news that facebook is launching Social Search Engine and Google is launching Social Networking site . so who will kill who? in this war. what u think ?

Member Avatar
Member Avatar
+0 forum 41

This is my code <?php session_start(); require_once("facebook-sdk/autoload.php"); require_once("facebook-sdk/src/Facebook/FacebookSession.php"); require_once("facebook-sdk/src/Facebook/FacebookRequest.php"); require_once("facebook-sdk/src/Facebook/FacebookResponse.php"); require_once("facebook-sdk/src/Facebook/FacebookSDKException.php"); require_once("facebook-sdk/src/Facebook/FacebookRequestException.php"); require_once("facebook-sdk/src/Facebook/FacebookRedirectLoginHelper.php"); require_once("facebook-sdk/src/Facebook/FacebookAuthorizationException.php"); require_once("facebook-sdk/src/Facebook/GraphObject.php"); require_once("facebook-sdk/src/Facebook/GraphSessionInfo.php"); require_once("facebook-sdk/src/Facebook/GraphUser.php"); require_once("facebook-sdk/src/Facebook/Entities/AccessToken.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookCurl.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookHttpable.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookCurlHttpClient.php"); use Facebook\FacebookSession; use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebook\FacebookRequestException; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookAuthorizationException; use Facebook\GraphObject; use Facebook\GraphSessionInfo; use Facebook\GraphUser; use Facebook\HttpClients\FacebookCurl; use Facebook\Entities\AccessToken; use Facebook\HttpClients\FacebookHttpable; use Facebook\HttpClients\FacebookCurlHttpClient; $api_id="452545828240757"; $api_secret="30be684049.............."; FacebookSession::setDefaultApplication($api_id,$api_secret); $session = new FacebookSession('452545828240757|n-4BLMHDlsgsXSvqr-YlUgXGk_8'); try { $response = (new FacebookRequest($session, 'GET', '/me'))->execute(); $object = $response->getGraphObject(); echo $object->getProperty('name'); } catch (FacebookRequestException $ex) { echo $ex->getMessage(); } catch (\Exception $ex) { echo $ex->getMessage(); } ?> After executing the code, I got the following message "An active access token must be …

Member Avatar
Member Avatar
+0 forum 4

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

Hello, I need someone that have a good knowledge about any web language to help me create some simple "blank" webpage, it won't take a lot of your time, maybe 5 minutes.. it's very simple and basic.. If you want to help, please send me your facebook profile link so I can add you and we can talk.. Thanks a lot!

Member Avatar
Member Avatar
+0 forum 14

Hello friends! I have my site database where users created their accounts with fb connect system in past, which is stored in 'email' field of my users mysql table, other users who created accounts using my website's own registration form is also stored in email field, but how can i retrieve actual email address of a person who logged in using fb connect system? because i need to make an internal Messaging system for members which is working fine for other users but have no idea how to inform users who has facebook connect accounts because i don't have their …

Member Avatar
Member Avatar
+0 forum 1

how to make this pagehttps://www.facebook.com/ on console screen and also set the size of cotrol screen to window size???????? i anyone can help i all apricate it?

Member Avatar
Member Avatar
-1 forum 1

Hey guys can I have a problem relating to Graph API, I want to get user profile info but it seems I can't generate a session, I don't know what is the problem. Here is my code.....please help me guys session_start(); require_once "facebook/autoload.php"; use Facebook\FacebookSession; use Facebook\FacebookRequest; use Facebook\GraphUser; use Facebook\FacebookRequestException; use Facebook\FacebookRedirectLoginHelper; $api_key = "452545828240757"; $api_secret = "30be684049158093c0de24025a4fec69"; $redirect_login_url = "http://localhost/fullsoka/index.php"; FacebookSession::setDefaultApplication($api_key,$api_secret); $helper=new FacebookRedirectLoginHelper($redirect_login_url); try{ $session = $helper->getSessionFromRedirect(); } catch (Exception $ex) { } if($session) { echo "Successfully login......"; }

Member Avatar
Member Avatar
+0 forum 11

Hai Everyone.. Could someone please tell me that is there any jquery plugin to upload an image with editing functionality like resize,drag position as in shown Facebook profile picture upload?

Member Avatar
Member Avatar
+0 forum 1

I need help with creating a "user account" website (i.e. Facebook, Twitter, etc). I have a home page set up, i just need to have the it jump to the "user's profile page" once they login their credentials (username, password). I know it has something to do with MySQL/PHP. Can someone help? I'd appreciate it.

Member Avatar
Member Avatar
+0 forum 3

how to get facebook id and name using php any body help me while clicking facebook image on my website

Member Avatar
Member Avatar
+0 forum 2

I have been looking for a list of some of the top social media sites that allow dofollow links to add value to my website. I know Google+ is nofollow as well as facebook and twitter. Does anyone have a list of dofollow social networks?

Member Avatar
Member Avatar
+0 forum 1

Allows publishers to create articles that load natively inside Facebook’s iPhone app (it’s iPhone-only for now), rather than sending users off to the Web. Facebook gets to keep users in its app, seeing articles that load instantly, rather than going off to a website that they may stay on instead of coming back to the warm, blue arms of its own domain. Read more here: http://thenextweb.com/facebook/2015/05/13/facebook-launches-instant-articles-for-iphone-native-content-from-buzzfeed-the-bbc-and-more/

Member Avatar
Member Avatar
+0 forum 2

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

hello,how i can share video on my website to facebook and to twitter by meta tags in html and to share image too to facebook and twitter but not all page only share for video and image

Member Avatar
Member Avatar
+0 forum 1

Hello hello. I'm remodeling my personal website, and I'd like to stack the links as flat icons, pretty much as facebook, linkedin and etc appears on here. So, instead of the badge I'd like to show an icon to keep the layout, but I couldn't find one for DaniWeb. Am I blind again? Based on the favicon, I just enlarged it... What do you think? Can I use it on my site? Cheers!

Member Avatar
Member Avatar
+0 forum 8

I want to a facebook share button to my website to share the particular content or page. How to do? at the same time it has to count how many people shared it.

Member Avatar
Member Avatar
+0 forum 1

Hello I getting current user friends list by php api of facebook. can you suggest me what is missing.[LINK](https://github.com/facebook/facebook-php-sdk) <?php require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'removed', 'secret' => 'removed', )); if($facebook->getUser() == 0){ $login = $facebook->getLoginUrl(); echo "<a href= '$login'>Login with Facebook</a>"; } else{ $user_profile = $facebook->api('/me'); $user_friends = $facebook->api('/me/friends'); $access_token = $facebook->getAccessToken(); echo "<pre>"; print_r($user_profile); echo "</pre>"; echo "<br/>"; echo "<pre>"; print_r($user_friends); //Given NULL Value echo "</pre>"; } ?>

Member Avatar
Member Avatar
+0 forum 8

Hey everyone, I created a blog that provides all information on classified submission about two months ago. currently, I only have six members on my blog. I want at least fifty members per month. I already shared the link on Facebook and Twitter. Please tell me what else I should do to get more members on my blog. Thanks. Rohan Savio Fernandes.

Member Avatar
Member Avatar
+0 forum 20

Hello everybody. You might see that many websites such as Facebook recognize your device even after you clear the cookies of your browser, RIGHT? Try to you log in Facebook, then log out and clear the cookies, then re-open the homepage of Facebook. You'll see that the username you used to log in with is automatically written in the login form. Does anyone have an idea about how to do this? Has this case to do with cookies? Thank you.

Member Avatar
Member Avatar
+0 forum 9

Question: I got stuck with only few votes in woobox. But I must win this. How to get votes can you guys help me? I am much curious to win help plz plz plzFfa

Member Avatar
Member Avatar
+0 forum 12

The End.