FAQ Database Discussion Community


Htaccess make IMAGE to run as PHP or to read content from a PHP file

php,facebook,image,.htaccess
I have a file image.php with generate a jpeg image with imagejpeg. When somebody want to get a resized image or to crop, he opens http://example.com/image.php?src=http://example.org/image Now I want this url to be accessible from http://example.com/image.jpg?src=http://example.org/image I want to to this with htaccess, but i don't want to be a...

Laravel Socialite Facebook can't get user details

php,facebook,laravel,laravel-socialite
I am following the following tutorial http://tutsnare.com/social-authentication-in-laravel-5/ I have followed the steps exactly as said, but when I try to dump my user object which I retrieved using the following code: $user = Socialize::with('github')->user(); dd($user); This is not giving any output. However $user = Socialize::with('github'); dd($user); Does return the following...

FBSDKLoginManager not open login Dialog in native ios apps

ios,facebook
I am new to iPhone development ,i want to do a facebook login from my native iOS simple application using latest facebook sdk 4. something ,i just want to open a facebook login dialog from Custom UIButton click,in my apps and for that i do below code in my button...

login with facebook and capture photo via Camera and share on own wall

java,android,facebook,camera
I searched many sites, but I still can't solve this issue, the problem is that I can't seem to be able to post the data. My code: public class MainActivity extends Activity { // Your Facebook APP ID private static String APP_ID = "397909153726269"; // Replace with your App ID...

How to retrieve Facebook post (preview) meta data for linking to external site, such as LinkedIn or Google Plus?

facebook,facebook-graph-api,preview
I'm trying to link to individual Facebook posts and display the post page's meta data, including an image preview, but looking at the FB post page's source, it has none of the usual meta nor open graph tags. I found that LinkedIn and Google Plus are able to retrieve meta...

Issue with Parse & Facebook

ios,iphone,facebook,swift,parse.com
I started to develop an app using Parse and Facebook. I've added both SDKs. This is my ViewController code(The fbLogIn is a button of "Connect with Facebook"): class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be...

Facbook Friends Likes count for a page in html

html,angularjs,facebook,social-likes
I want To Display count that number of friends liked a page in html anyone please tell me and i know by using simple url we can get the page likes but i want know how to get the count of friends who liked a page and that too i...

Can't Post to Facebook Page using JS

javascript,facebook,facebook-graph-api,facebook-page
Okay what I want is to post to the Facebook Page as an Page(This is developing mode application only viewable to ne). I have done with Facebook login. So basically I ask for 2 permissions and they are Manage Pages Publish Pages I can post to the page using the...

need a neat way to create a dynamic facebook sharing technique with custom parameters

jquery,facebook
Since Sharer's ability to accept custom parameters is dead which was the easiest way for a noob like me, I am a bit puzzled with all the FB.ui n OGP talk everywhere. I am not sharing via any app. So do not suggest a method that needs any app_id. I...

IOS: Easy Facebook SDK email retrieval Objective C

ios,facebook,facebook-graph-api
EDIT (Rewording the Question because it didn't make sense before.) I have a loginViewController that has he following IBAction: -(IBAction)fblogin:(id)sender { FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions:@[@"email"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) { if (error) { // Process error } else if (result.isCancelled) { // Handle cancellations } else...

How can I post item on business page using facebook api

javascript,facebook
I successfully share items on my own profile using the api function share(url) { FB.ui({ method : 'share', href : url, }, function(response) { if (response && !response.error_code) { } else { //alert('Error while posting.'); } }); } but how can I post the same item on my business page...

Unable to post to facebook page using app token

facebook,facebook-graph-api,facebook-apps,facebook-access-token
I am building my first facebook app and am facing a issue. Task : Build a entirely server side application to be used by the admin of a facebook page to post videos/photos on the page. This should not involve having the admin to log in everytime to generate the...

Start Facebook Chat with Another user using Facebook ID

android,facebook,facebook-graph-api,facebook-messenger
Is there any way to start a facebook chat using the messenger application. I know we can lead a user to the messenger application using intents and using their Messenger API. But I want to do is open a chat window directly with particular user using the facebook User Id....

How to easily use the Facebook API Realtime Updates feature?

javascript,php,facebook,facebook-graph-api
First off, apologies for posting yet another question on Facebook Realtime Updates. I have read many existing stackoverflow answers and useful articles which helped, but I still can't seem to figure out how to put everything together. Also, this is the first time I use Facebook and it's API, so...

Can't perform authentication through facebook with Parse

android,facebook,parse.com
I want to perform authentication with facebook,using Parse to store user's information. I got the following code in my application class : public class App extends Application { public void onCreate() { super.onCreate(); Parse.enableLocalDatastore(this); Parse.setLogLevel(Parse.LOG_LEVEL_VERBOSE); Parse.initialize(this, "[XXX]", "[XXX]"); ParseFacebookUtils.initialize(this); } } And in my login activity the following : public...

How to get Facebook subscriber count + friend count

php,facebook
Until few weeks ago I was able to get subscriber count & friend count for personal accounts in Facebook. Here's the code I used: $userid = '543766397'; $url = file_get_contents('http://api.facebook.com/method/fql.query?format=json&query=select+subscriber_count,+friend_count+from+user+where+uid%3D'.$userid); $decode = json_decode($url); $fb['subscriber_count'] = $decode[0]->subscriber_count; $fb['friend_count'] = $decode[0]->friend_count; Facebook has made changes to their service and the code above...

Using Graph API Explorer gets friends list but my own app doesn't . (Graph API Explorer token v.s App Token)

facebook,api,facebook-graph-api
I am trying to get my friends list in my app. If I use the access token in my Graph API Explorer console and hit the url. https://graph.facebook.com/v2.3/me?access_token='GraphAPIToken'. I am able to get the complete friends list. If I try using the SDK or any library like fbgraph for nodejs...

django get the social token form allauth

python,django,facebook
Hello i tried to get the social token from the DB but i get this error. I can't find any answer to this and tried everything i can think of. Please if anyone knows how to fix this. NameError at / name 'user' is not defined Request Method: GET Request...

Swift Facebook Login AppID Not Registered as a URL Scheme

ios,facebook,parse.com,info.plist,app-id
I'm getting the following error when trying to login with Facebook Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fb---AppID--- is not registered as a URL scheme. Please add it in your Info.plist' The problem is the "fb---AppID---" is in my Info.plist file. I followed the 3 bullet points listed...

how to share screenshot to Facebook

objective-c,facebook,facebook-sdk-4.0,social-media
I've already done that screenshot part, but still haven't found any solution to share the screenshot image to Facebook by using FBSDKSharePhoto. Facebook doesn't provide enough references for it. Can anyone please guide me here? Here is my screenshot code just in case: CGRect screenRect = [[UIScreen mainScreen] bounds]; UIGraphicsBeginImageContextWithOptions(screenRect.size,...

Facebook Graph API limit publishing to fan page

facebook,facebook-graph-api
I am using facebook graph api to publish link to my fan page with 1 request/1 minutes. But today i receive an error when request: Error: It looks like you were misusing this feature by going too fast. You’ve been blocked from using it. Learn more about blocks in the...

share on facebook: to use a different url in the open graph tags

html,facebook,facebook-opengraph,opengraph
I have a superheroes quiz game at this address: mysite/index.html, the quiz has 2 possible results mysite/result1.html and mysite/result2.html. Each result page has the open graph tags as: <meta property="og:type" content="website" /> <meta property="og:title" content="Great you are Superman" /> <meta property="og:description" content="Description of Superman" /> <meta property="og:url" content="mysite/result1.html" /> <meta...

graph api get public events with rails/koala works only for some sites

ruby-on-rails,facebook,facebook-graph-api,facebook-opengraph,koala-gem
This is my code Koala.config.api_version = 'v2.3' @oauth = Koala::Facebook::OAuth.new 'app_id', 'app_secret' @graph = Koala::Facebook::API.new @oauth.get_app_access_token @events = @graph.get_object('141991029192409/events') which works fine. If I try to fetch the events from another site like @events = @graph.get_object('161335993890217/events') I get this error GraphMethodException, code: 100, message: Unsupported get request. Please read the...

Are the Facebook API Key and App Secret the same thing?

wordpress,facebook,api,facebook-graph-api,facebook-apps
I am using a WordPress theme which requires entering an Facebook API key in order to enable comments. I created a new Facebook app, but all it's showing me is an App ID, API version, and an "app secret." Do I need to enter the app secret in place of...

Read post from Facebook home

php,facebook,facebook-graph-api
I am having probleimi with my code. In short what I would do is show on my website the latest posts of home on facebook. I allowed my appa for permission "facebook_stream" (which is still under review). When I try to process the Facebook code gives me this error: "Uncaught...

FacebookCallback.onCancel is getting called when trying to login using facebook sdk

android,facebook,login,facebook-sdk-4.0
I have an Android app and I am trying to use facebook's sdk (version 4.1.0) to get a token and login. Here is my code: public class LoginActivity extends Activity { private CallbackManager callbackManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); FacebookSdk.sdkInitialize(getApplicationContext()); callbackManager = CallbackManager.Factory.create(); LoginManager.getInstance().registerCallback(callbackManager, new...

Facebook Messenger sending metadata (Android)

android,facebook,facebook-messenger
I'm following this guide to create an app which sends an image to Facebook messenger. String mimeType = "image/png"; Uri contentUri = Uri.parse("android.resource://com.test.test/drawable/foobar"); String metadata = "{ \"name\": \"baz\" }"; ShareToMessengerParams params = ShareToMessengerParams.newBuilder(contentUri, mimeType).setMetaData(metadata).build(); MessengerUtils.shareToMessenger(this, REQUEST_CODE_SHARE_TO_MESSENGER, params); The code is pretty simple and almost identical to Facebook's own sample...

difference between componentDidMount and getInitialState in Reactjs

facebook,reactjs,flux
I understand that getInitialState is called once in the component's lifecycle and componentDidMount is called when the component is rendered. So does that mean both will get called just once in the component's lifecycle? What's the difference?...

How to retrieve authData from a ParseUser?

android,facebook,parse.com
I'm trying to retrieve the authData field from a ParseUser. With Parse 1.9.1, I used to do it like so: ParseUser user = ParseUser.getCurrentUser(); HashMap authDataMap = (HashMap)user.get("authData"); HashMap facebookMap = (HashMap)authDataMap.get("facebook"); String facebookId = (String)facebookMap.get("id"); And this worked fine. Something changed though. I don't know if it's because I...

Login with Facebook option trigger suggest to download an app

android,ios,facebook,osx,login
Yesterday I logged in to Airbnb with my Facebook account on my OSX. Shortly later I got a notification both on my iPhone and computer saying "Airbnb is available to install on your iPhone" My question is, does anyone here know how this was done? Is this a feature available...

Facebook Debugger Returning “Document returned no data”

facebook,facebook-graph-api
Recently I noticed that Facebook's Object Debugger was unable to scrape any pages of my website. After troubleshooting and scouring the internet, I'm at a loss for what might be causing this bug. Whenever I attempt to fetch a new scrape of my website, the following error is returned: Error...

In Facebook marketing API, where to set target URL of an Ad Campaign

facebook,facebook-graph-api,facebook-ads-api
I would like to create an Ad Campaign with the Marketing API but I don't know where I can set the target URL of this campaign. I can set the objective of the campaign to WEBSITE_CLICKS but where to set the URL it will goes to? If I use the...

Sequelizejs error when authenticating with passportjs(facebook)

node.js,facebook,oauth,passport.js,sequelize.js
I am trying to authenticate with facebook OAuth thru passport.js but sequelizejs is throwing the following error: server-0 (err): Unhandled rejection SequelizeDatabaseError: column "value" does not exist My user model looks like this: module.exports = function(sequelize, DataTypes) { var User = sequelize.define("User", { username: { type: DataTypes.STRING, allowNull: true, validate:...

Want to save facebook image into my rails app

ruby-on-rails,facebook,facebook-graph-api,open-uri,omniauth-facebook
I am using ominauth to signup users in my rails app.i also have a basic signup option with email address also. So for both users i have to save upload user picture in my file system I have regular file upload for my email users but for FB users i...

VBScript to detect Facebook IE window, press Like and close the window

facebook,internet-explorer,vbscript
I tryed to make a script to detect the IE window that is opened on Facebook and hit the Like button. Let's say I have 10 IE opened. Only one of them is on a page on Facebook. I want my script to detect that IE window, click this button:...

I need to retrieve facebook user language with php

facebook
I'm building a very simple facebook app in which i would like to retrieve the facebook user language. Since now, i retrieve the browser language to give the right language for the user but I think that retrieving the facebook user language is better and more precise. Is there someone...

JQuery: How to replace a part of an attribute which is between two certain parts?

javascript,jquery,facebook
I would like to change a part of the url inside of the src attribute. This would be called with a click function. This could change the language of the like button without refreshing the page and when another language was selected previously. This works well, but since there are...

Connecting social Networks using Meteor Login Services without Logging in

facebook,twitter,meteor,google-plus,accounts
I want to connect social Networks like Twitter, Google+, Pinterest without logging in - only connecting and saving the access Token and the data in user.services, but using the meteor accounts packages like accounts-facebook or accounts-twitter. For better understanding, at the moment im using accounts-facebook to log the user in,...

Call Facebook API to echo like count doesn't work

php,json,facebook,facebook-graph-api
I'd like to display the number of likes for my Facebook page on my website. The previous method I used isn't working anymore since a couple of days. When I call the Facebook graph API like this: https://api.facebook.com/method/links.getStats?urls=http://www.facebook.com/549585444&format=json It gives me the following output (fictional example):...

Facebook API profile picture

javascript,html,css,facebook,facebook-graph-api
I created a website for my Students Organization. On that website there is a page where I list all the people who helped organize our Activities. Theres a picture of every member there. To get the images, I used their facebook profile pictures. I used http://graph.facebook.com/USERNAME/picture?height=250&width=250 This code did work...

Why does facebook app role id differ from user id?

node.js,facebook,mongodb,facebook-graph-api
I have a nodeJS application with facebook login provided by facebook-passport strategy. Once user logins, I save his data to my own database for later use. For this I have needed to create a facebook app. From the facebook app's configurations I have set up people for roles. In my...

facebook post on page wall - PHP SDK

php,facebook,facebook-graph-api,facebook-php-sdk
I'm trying to create a script that post on a facebook page (as an administrator) a status. This is the script i'm using: try { $access_token = (new FacebookRequest( $session, 'GET', '/' . $pageID, array( 'fields' => 'access_token' ) )) ->execute()->getGraphObject()->asArray(); $access_token = $access_token['access_token']; $page_post = (new FacebookRequest( $session, 'POST',...

Getting large photo with additional fields - Facebook

facebook,facebook-graph-api,get
So this is how I'm retrieving Facebook friends and profile picture right now: https://graph.facebook.com/{{user_id}}/?fields=picture,friends&access_token={{app_id}}|{{app_secret}} However, the photo I get with it is small and the only way to get a large photo is: https://graph.facebook.com/{{user_id}}/picture?type=large&access_token={{app_id}}|{{app_secret}} So now I have to make two get requests; one for a large photo, and one...

FBSDKGraphRequest does not redirect to app after login

ios,facebook,swift
I am using FBSDKGraphRequest to implement Facebook login in my iOS app. But after the login is done and the user confirms, I am not redirected to my app. Here is my code: FBSDKGraphRequest(graphPath: "me", parameters: nil).startWithCompletionHandler({ (connection, result, error: NSError!) -> Void in if error == nil { println("\(result)")...

Loopback passport mobile login

facebook,mobile,passport.js,loopbackjs
I'm developing an API with loopback and passport. I've seen this example, which is quite good: https://github.com/strongloop/loopback-example-passport In the documentation, they say loopback follows this step to authenticate users via third party providers: A visitor requests to log in using Facebook by clicking on a link or button backed by...

Best way to achieve automatic posting to facebook using nodejs

node.js,facebook,facebook-graph-api,feed
I'm developing a nodejs app which basically posts in an automatic way, videos to a Facebook page. I'm the admin of the page so user auth should be done once. Up until now, I was using an unpublished facebook app to test it, but I just realize that while the...

Facebook logout iOS SDK

ios,objective-c,iphone,facebook
In the latest SDK of Facebook for iOS 8, the login button itself changes to logout once the user logs in successfully. I have a separate logout button in my applications. When the user is successfully logged in using my own server credentials, google+ or facebook, the app takes the...

angularjs ngfacebook batch request

angularjs,facebook,facebook-graph-api
Can anyone who knows how to use the angularjs ngFacebook module help me to perform a facebook batch request? Is it possible to do it with this module? What I need exactly is to get the user events from facebook, for that I have to do 4 different request: $facebook.api('/me/events/attending').then(function(response)...

Get up-to-date facebook crawler ip list

c#,facebook,whois,cidr
i hope some one can help me. I need to know if a ip request is from facebook. I have a small list of ip range in cidr format and i'm able to know it the current request ip is in this range. BUT the ranges i have are out...

Facebook SDK 4.2 FBGraphUser protocol update

ios,facebook,facebook-graph-api
I am working on an Xcode project that has Facebook SDK 3.1.4. I am currently updating the SDK to 4.2. I was just wondering if someone can help me with the update related to FBGraphUser protocol and how I can update that for Facebook SDK 4.2. I have looked around...

Turn FBProfilePictureView into UIImage

ios,objective-c,facebook,uiimageview
I have a Facebook login that gets the users profilePicture, lblUsername, and lblEmail. I know that the FBProfilePictureView is a UIView that contains a UIImageView. So, what I am asking is how do I convert or "save" the profilePicture that you get from Facebook as a UIImage? Here is my...

Graph API get user id facebook

facebook,facebook-graph-api
How can I do this? Im using Graph API v2.3 I am able to get the access token, but I don't know how to get the user's ID....

Get Facebook ID on invite game

facebook,facebook-javascript-sdk
I am trying to use the Facebook API to invite friends. But I need at the time you click invite, I receive the facebook id of the invited person. I followed this blog, but it does not delivery FBID. http://www.9lessons.info/2012/07/facebook-invite-friends-api.html...

How to properly request facebook permissions ios

ios,facebook,facebook-graph-api
I am trying to retrieve a bunch of facebook information from user using the app using parse and the facebook sdk, but I haven't been able to do it successfully. First I check if the user is logged in and if they arn't I display the parse view controller with...

Agree to my privacy policy when sign up to my site via facebook

facebook,privacy,policy
My site has privacy policy and terms of service, when user registered required to agree to both of them. But also I have option of sign up with facebook. Do user required to agree to my privacy policy and terms of service when signing up to my site with facebook?...

Facebook post to page error

facebook,facebook-graph-api,curl
I am going insane... After Googling, searching here and pulling each of my hairs out one by one, I'm stuck. I am trying to automate posts to a Facebook page and am calling the following: https://graph.facebook.com/oauth/authorize?client_id=XXXXXXXX&scope=publish_actions,publish_pages,manage_pages&redirect_uri=http://www.example.com Followed by: https://graph.facebook.com/oauth/access_token?client_id=XXXXXXX&redirect_uri=http://www.example.com&client_secret=XXXX&code=XXXXXX This successfully gives me the access token, but...

Facebook 4.2 iOS 8 logon and post photo

ios,facebook,ipad,facebook-graph-api
I’ve got an iPad IOS 8 app using Facebook 4.2 SDK which simply uploads and posts an image and caption to my timeline using graph api. It used to work fine with Facebook 3.x but it’s broken when I replaced the api. under 3.x, I ask for permissions using NSArray...

Facebook API v2+. Open Facebook application (friend profile or chat page) from my android app using intent?

android,facebook,facebook-graph-api,android-intent
I try to open Facebook Android App (Chat screen) from my own app. I found that it can be possible using: intent.setData(Uri.parse("fb://messaging/" + profileId)); where profileId, it's number like this: 100001850642676 But I can't get friend Id in necessary format, because when I'm sending request to get taggable_friends I get...

Getting User Birthday HTTP Request

facebook,facebook-graph-api,meteor
Im trying to get birthday on the server side of my app. I have already the ["user_birthday"] permission on my login request. But now on the server i need to do something like this i guess. userBirtdhay = "https://graph.facebook.com/me?fields=birthday&" + user.services.facebook.id; But this results something like. https://graph.facebook.com/me?fields=birthday&10146450841965723dffsadf And if you...

login with facebook: django-allauth

django,facebook,facebook-graph-api,django-allauth
I am using django-allauth to implement login with fb and google. It was working perfectly fine on my windows development machine. But when i shifted to the server(ubuntu 14.04 with apache2), I am facing this problem. I changed the app details on both facebook and google and have updated the...

Fetching Data From Multiple Facebook API's then Adding Together

javascript,jquery,facebook
JQuery Snippet // THE FOUR URL'S TO ADD THE TOTAL SHARES var Gal_All = "Link One"; var Gal_S_1 = "Link Two"; var Gal_S_2 = "Link Three"; var Gal_S_3 = "Link Four"; $.ajax({ type: 'GET', url: 'https://graph.facebook.com/' + Gal_All, success: function(data) { showCount(data); } }); var fbshares; var fbcomments; function showCount(responseText)...

How can we see users’ information through Facebook Graph API in Android?

android,facebook,facebook-graph-api
I am making a dating app (android) by using Facebook API (You know the similar application that starts with tin…) Anyways, I registered my application in Facebook developers and I also got approval to use functions that I need through 'Submit Items for Approval'(my Approved Items: email, public_profile, User_photo, User_like,...

Microsoft.XMLDOM - Facebook Page RSS - System error: -2147012866

xml,facebook,asp-classic,rss
I had successfully hooked up my Classic ASP site to read a Facebook page RSS feed and return details on the latest post. This had been working perfectly fine when set up, but I noticed the other day that it no longer worked. I've fiddled with it quite a bit,...

How get access token from other users

php,facebook,facebook-graph-api,facebook-php-sdk
I need to read the posts on facebook. I had create the application and the program works if I log with my credential. But when I log with another credential ( like another profile that I have just created) the program doesn't work anymore. This is my login page: $config...

NODE/EXPRESS/PASSPORT - Facebook App with Callback URL

node.js,facebook,express,callback
I am creating a facebook app. And I want to let users to login to my website using FB. I have integrated the code but FB cannot found the callback page/url. URL: http://www.mywebsite.com:3000/auth/facebook/callback?code={here_goes_the_callback_code} Error: The webpage cannot be found app.js var express = require('express'); var routes = require('./routes'); var http...

Meteor, '/users/insert' is already defined

javascript,facebook,mongodb,meteor,collections
I'm creating basic Administration Panel and I didn't work with MongoDB yet. For development purposes I left autopublish and insecure in the project. In order to render users from database (Accounts-ui + Accounts-facebook) i need a handler for Users = new Mongo.Collection("users"); but during compilation there is following error: '/users/insert'...

Unable to share message in Facebook API 4.0, with error : Error publishing message

android,facebook
Currently using Facebook 4.0 API, I try to publish message, but I receive the error as following: Error: Error publishing message Looking for help on this issue. private CallbackManager callbackManager; private ShareDialog shareDialog; private FacebookCallback<Sharer.Result> shareCallback = new FacebookCallback<Sharer.Result>() { @Override public void onCancel() { Log.d("HelloFacebook", "Canceled"); } @Override public...

Facebook LogIn and Parse

android,facebook,parse.com,facebook-javascript-sdk
I've just added Facebook login to my app, I can retrieve the data I need. But I'm not completely sure what to do with it. My app already works with normal users to Parse.com (which I registered on a register screen that I have created in my app). But what...

Facebook user to Parse.com

android,facebook,parse.com,facebook-login
How do I get the data from The Facebook user to Parse.com? The code that I will provide below makes a user but it doesn't update it with data when I login, why is it not working? public class LoginActivity extends Activity { private EditText usernameView; private EditText passwordView; @Override...

Automatic Opengraph Image

html,facebook,facebook-opengraph,opengraph
When sharing a page on Facebook or other social network: If <meta property="og:image" content="http://url.to/image.jpg" /> is present, it is used to generate a thumbnail. That's ok. If <meta property="og:image"> is not present but there is an image on the page, the first image present on the HTML page is used...

Opening facebook in a panel of winforms

c#,multithreading,facebook,panel,process.start
I am in need to open facebook(whatsapp,skype etc) with in a panel. please suggest something to achieve the same. I working on windows 7. If facebook is not possible then please suggest with whatever the task is possible whether with facebook messenger,whatsapp (site or app),skype or any other social networking...

PlayN and Firefox issues

facebook,firefox,gwt,game-engine,playn
I am working on a pet project of a Facebook game. I've had a couple of problems until now on Firefox browser. CPU runs wild when you start a game on FF. TextLayout gets moved a few pixels up. Caching ruins reloading of resources Anyone had these kind of problems?...

Facebook Android API asks for additional permission

android,facebook,facebook-graph-api
I am using v2.3 api here I can login with Facebook login button. Now how can I call additional permission on click? I have looked through answers for this question, but all of them look to be back-dated. Can someone show me the right way of asking for addition permission...

Facebook Permission Graph API

php,facebook
try { $response = (new FacebookRequest($session, 'GET', '/me/permissions'))->execute(); $object = $response->getGraphObject() -> asArray(); echo '<pre>'; print_r($object); echo '</pre>'; //problem lies over here for($i = 0 ; $i <count($object['data']); $i++){ echo "<br>" . $object['data'][$i] -> permission; } } catch (FacebookRequestException $ex) { echo $ex->getMessage(); } catch (\Exception $ex) { echo $ex->getMessage();...

How to show image like video in facebook

facebook,image,video
I want to ask about how to show image like video in facebook Look if you post this link in facebook post area will show you video but no video in this link.

Prevent null accessToken while upgrading from the android Facebook SDK v2 to v4?

android,facebook,facebook-authentication
I have an app using the v2 Facebook Android SDK. We have a large active user install base, so protecting the upgrade experience is important. I've seen how to prevent the logout on iOS here and here - but not for Android.. To detect if a user is logged in,...

Does Facebook allow preloading a specific message from a user to a page?

facebook,webintents
I know that Facebook allows web intents of sharing URLs, along with the ability to select whether it goes into a message, or to your wall, but I was wondering if there is an ability to do something where a user can click a link/button, and it opens up a...

Upload info that appear when share web link on Facebook

wordpress,facebook,url
I have made a website. I did it with wordpress, making a custom theme. All works fine, but I have a problem. When I share any url on facebook, the info is not showed correctly. Only shows correctly if I go to open graph stories and I fetch the newest...

Access Token of Facebook changed by user, How to get call back for Access Token?

android,facebook,facebook-access-token,android-facebook
I am using Facebook SDK 4.2. I have implemented AccessTokenTracker interface, which is working if token is changed. My question is : If user got publish_permission for post something from Android app. Then I remove that permission from my Facebook account. Now in app, the token return from AccessToken accessToken...

Share link to facebook with PHP and Javascript

javascript,php,facebook
I'm new to PHP and I've this code I'am not sure why it redirect me to http://www.facebook....php?s=100&amp;p[url]= instead I want http://www.facebook....php?s=100&amp;p[url]=test. <?php $url = 'test' ; echo " <a target='_blank' href='http://www.facebook.com/sharer/sharer.php?s=100&amp;p[url]=' " . $url . " '&amp;p[images][0]=https://scontent-vie1-1.xx.fbcdn.net/hphotos-xta1/v/t1.0-9/11102691_483697748448554_6954591283482418788_n.png?oh=78cfe0fb891a30cf56d78df08e65e70f&oe=55F12850;p[title]=Desgin Football...

Posting facebook user data to server using JSON

ios,objective-c,json,facebook,webservice-client
I am a beginner in ios programming. I am integrating fb authentication for my app. I can successfully logged-in and get the user data on console using NSlog. Now, I want to send the user data like name, email-id etc to the server using json. I searched alot and get...

Creating a website for a restaurant with facebook api [closed]

php,facebook,facebook-graph-api
I've my own webdevelopment company and I have a new customer this week who wants to have a facebook API on his site. I've worked with the API before for my personal website but never with a customer. And my question was what is the best way to get a...

Sending Facebook user data to server fails - Android

android,mysql,facebook,http-post,facebook-login
I have an app with a facebook login (4.2), when the user logs in, I pass his data (name, birthday, etc) to my MySql online database. My problem is that on some devices I get empty strings, and I can't figure out why? The user data is sent to the...

Android Facebook SDK 3.2 Getting Profile Email information Showing Null

android,facebook,facebook-login,facebook-sdk-3.1
I am using Facebook SDK 3.2 for login in my android app. Login, logout functions working fine. My Problem: after login want to retrieve the Facebook Username and Email. Username Showing Perfectly Email is not Showing. Please help me to solve it. MainActivity.java public class MainActivity extends FragmentActivity { String...

Facebook Canvas login - session not created?

php,facebook,canvas
So I'm re-writing our old Facebook app (from 2011), bring it up to snuff. It's a straight Canvas app - I just want it to run in the iFrame, it doesn't need any special permissions. I am trying to work from the sample in the PHP SDK docs, and I...

Is it possible to Login to Facebook using Parse with publish_actions and email permissions?

android,facebook,facebook-graph-api,parse.com
I'm searching for days trying to figure it out but I only find questions or old answers that seems not to be working anymore. Loging in to Facebook with Parse is easy if you go through the tutorial, but if you want to do something "usefull" it just tells you...

Facebook link preview shows javascript

facebook
When I post a status update in Facebook to a public page on a website, instead of showing that page, it shows some of the JavaScript. What am I doing wrong? Does the JavaScript need to go into a different place?...

Cant get information of my friends - Facebook Graph API [closed]

facebook,facebook-graph-api
Im trying to get information of my friends, but just return of some friends, not all. What is the problem?...

How to retrieve facebook username from graphobject?

php,facebook
I am trying to retrieve facebook username from facebook API but i am getting errors. I have tried the following code $request = new FacebookRequest( $session, 'GET', '/me' ); $response = $request->execute(); echo $user=$response->getName(); the code is inspiring my to retrieving username from facebook and running succesfull. When I execute...

Pass image, summary, URL to Facebook share button in ASP.NET MVC

asp.net,asp.net-mvc,facebook,facebook-opengraph
I'm trying to put Facebook "Share" buttons on various elements on a one-page Bootstrap ASP.NET MVC page. When each button is clicked, it would display a different image, summary, and URL for that element on the page. The URL will send the user to a specific tag on the page,...

Android facebook sdk : Login works without proper key hash

android,facebook,facebook-graph-api,facebook-android-sdk,hacking
I have created a android sample app in developers.facebook.com but I haven't provided any key hash in the settings. Now if I try to login in my sample with fb app is installed it gives the invalid key hasherror which is expected. However, If I disable the facebook app, it...

How to save Facebook private message to database? [on hold]

php,facebook,api,permissions
My question is that is possible save private message from facebook to my database. And if yes, how is it possible? Thank you.

Bluemix authentication ios8 with google and facebook

facebook,authentication,ios8,bluemix,google-authentication
I am trying to implement two types of authentication from an iOS8 device in the bluemix platform. I succeeded in adding one type of authentication: google. I am using a ADVANCED MOBILE ACCESS module, and I am at the User Authentication part. It looks from a dashboard like I can...

Unexpected token while parsing Facebook RSS

c#,facebook,winforms,rss,.net-4.5
I'm trying to parse the facebook RSS but none of them seems to work. Every method I've tried so far result in a different exception. I changed the format to format=atom10. I ended up with below code void loadRSS3() { string url = "https://www.facebook.com/feeds/notifications.php?id=XXXX&viewer=XXXX&key=XXXX&format=atom10"; var req = (HttpWebRequest)WebRequest.Create(url); req.Method =...

how to share a Photo Or link on facebook wall without using FBSDKShareDialog from native ios app

ios,facebook,integration
i want to post some photos Or Link on user Facebook wall without using FBSDKShareDialog .I am already post With using the FBSDKSharePhoto And FBSDKShareDialog defult dialog from facebook. for that i do the below code FBSDKSharePhoto *photo = [[FBSDKSharePhoto alloc] init]; photo.image = self.imgView.image; photo.userGenerated = YES; FBSDKSharePhotoContent *content...

Facebook Login for the iOS app occurring outside of the appliaction

ios,objective-c,facebook,facebook-graph-api
I am using Facebook login for my iOS app .For the first time the user needs to login via Facebookand When a login is asked the app is redirecting to Safari browser or it will redirect to the Facebook app if the Facebook app is installed on your device. But...

Facebook Marketing API some field are not shown

facebook,facebook-opengraph,facebook-ads-api
I have a development level access to Marketing API and it looks like I cannot read some fields of specific objects. For example I try the following call: You can see that promoted_object, link_url and object_url are not displayed in the result. And I should have one of those three...

For how long open graph link should be accessible?

facebook,facebook-opengraph,opengraph
We're sharing data on facebook using open graph meta tags. After initial crawl for how long link with the document should stay valid? Is it just stored in open graph and if the content do not change I don't need to care about it anymore? I couldn't find information about...

Angularfire facebook user_friends

angularjs,facebook,firebase,angularfire
Using facebook authentication with angularFire, I don't see "user_friends" in the Auth object that is returned. ng-click="auth.$authWithOAuthPopup('facebook',{scope:'user_friends'})" This works fine for grabbing the uid, and I see the facebook object which contains the "accessToken", "cachedUserProfile" etc., but no "user_friends". Someone is have a similar issue here with the "email" object:...

Facebook - “Cannot query users by their username” solution

android,facebook,facebook-graph-api,facebook-graph-api-v2.2
I am developing an android app. I was using a HttpURLConnection to get profile pictures of facebook users. The URL looks like this: http://graph.facebook.com/?ids=username1,username2,username3&fields=picture&type=square But now, since v2.2 doesn't let me to get profile pictures of users who are not using my facebook app, it throws an error: { "error":...