w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » FACEBOOK » Page 1
How to get all my facebook friends with latest version of graph api
That's not possible, and has been asked here hundreds of times. Please use the search functionality of StackOverflow first before posting a question. Have a look at Get facebook friends with Graph API v.2.0

Categories : Facebook

Facebook Ads API Error - Not enabled for usage
When using the Ads API in development mode, you need to specify the AdAccounts you are going to use in the developer console. See the following guide for more details: https://developers.facebook.com/docs/reference/ads-api/access#standard_accounts

Categories : Facebook

Facebook RSS - Large Images
This is probably not the answer you want, but: Where I work we too were doing image URL rewrites to get larger versions of images in Facebook's RSS feeds. Because of the problem you're asking about, we ended up switching to using the FB Graph API to get our feeds (and images). We're getting larger images now, though the max size seems to be 480x480 and not a full 720x720. To get your feeds throu

Categories : Facebook

Facebook ad account group API access not correct on Facebook's site
When using the development access of the Facebook Ads API, you need to specify which adaccounts you are going to use and you must own the adaccounts. See the following guide: https://developers.facebook.com/docs/reference/ads-api/access#standard_accounts

Categories : Facebook

facebook cannot crawl website
Not sure if you fixed your issue, but I have just had the same trouble with our blog, and noticed it was only showing in posts that had external url links to images! All local hosted images didn't show the FB crawl issue.

Categories : Facebook

FB share after login
You should not use FB.login in the asynchronous callback of FB.getLoginStatus. I know that it´s in an example in the Facebook docs, but it´s wrong and modern browsers block it. Use FB.getLoginStatus on page load (to refresh a user session and to check if a user is logged in) and FB.login directly on user interaction (mouse click). You should not use FB.ui automatically either, only on direct use

Categories : Facebook

Facebook API mutual_friends request and Graph Explorer
Unlike the previous version of Graph API, in the v2.0 and above, facebook reveals friend edges only when both the users have given access to your app. So users who have not given permission to your app may not show up in the mutual friends list.

Categories : Facebook

Facebook App access token to manage pages without having user to login to get user access token
This is the most import page to read about Access Tokens: https://developers.facebook.com/docs/facebook-login/access-tokens There is the App Token, the User Token and the Page Token. A User Token can be extended to 60 days, a Page Token can be extended to be valid forever. /me/accounts needs a User token, so there is no permanent Token to use that endpoint. /{page_id}/ratings/ needs a Page Toke

Categories : Facebook

How to get entire friend list from Facebook Graph API
1) No, without any App you can´t get Access to anything. Even the most simple Access Token needs an App: https://developers.facebook.com/docs/facebook-login/access-tokens 2) Since April 2014, you can only get the friends who authorized the App too, for privacy reasons: https://developers.facebook.com/docs/apps/changelog

Categories : Facebook

Facebook API - public posts of a random user
FQL is deprecated, you can´t use it in a new App anymore. Afaik you can´t even get public posts of a User without a User Access Token anymore, and you need the read_stream permission. Keep in mind that you will most likely not get that permission approved though: This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For e

Categories : Facebook

Facebook Graph API Return Friend posts only from feed
friend permissions are gone since v2.0 (end of April 2014), it is not possible to get the posts of friends anymore: https://developers.facebook.com/docs/apps/changelog

Categories : Facebook

Remove Facebook auth to my website for my Facebook account
just remove your app from https://www.facebook.com/settings?tab=applications afterwards it will ask for all permissions again.

Categories : Facebook

FB api v1.0 new Permissions
You send in specific permissions, so you can just send in publish_actions without read_stream and it should be no problem. Just keep in mind that you will lose access to read_stream completely after April 2015. I assume you know that it will only get approved for platforms without a Facebook client.

Categories : Facebook

HWIOAuthBundle Symfony2 get user likes from Facebook
To call facebook API i use facebook sdk and for example to get friends, I added this to my controller: $user = $this->getUser(); if ($user && $accessToken = $user->getFacebookAccessToken()) { $friends= []; $userRepo = $this->getUserRepository(); $session = new FacebookSession($accessToken); $session->setDefaultApplication($this->c

Categories : Facebook

Facebook SDK classes not found Slim Framework
With composer you require dependencies with code below. Check documentation about autoloading. require "vendor/autoload.php";

Categories : Facebook

Facebook app - Test User ID changes after user first logins the app
If you call /v2.0/search?q=T&type=user, the IDs returned will be the same as when the user logs into your app - as long as your app invokes the login dialog also using v2.0 in the URL. In v2.x, a person's ID is always consistent. However, if parts of your app are calling v1.0 and others calling v2.x, a person's ID will change unless they have logged into your app, in which case it will be the

Categories : Facebook

Is it possible to intersect interests with Facebook Ads?
Take a look at flexible spec in the targeting guide. For example, to target: people who live in the U.S, aged between 20-24, who are not (single or married) and have not recently moved and (are travelers or like soccer or movies) and are (newlyweds or like music). Specify targeting as: targeting= {'geo_locations':{ 'countries': ['US'], }, 'age_min':20, 'age_max':24, 'flexible_

Categories : Facebook

Why other people except myself cant see my auto blog post on my Facebook page?
Go to "Status & Review" in your App settings and check out that box next to the following text: "Do you want to make this app and all its live features available to the general public?" - make sure it is set to "YES".

Categories : Facebook

Grap API - How can I update email address for a Page
I don´t think you can change the email with the Graph API, check out the docs for all the things you can change: https://developers.facebook.com/docs/graph-api/reference/v2.2/page Take a look at the footnotes: "indicates fields that can be added or updated via API." ...and check out the section about "Publishing and Updating" with more information and code examples.

Categories : Facebook

Facebook graph API - get custom profile picture size
You can use width/height as parameter: graph.facebook.com/{user's FB ID}/picture?width=100&height=100 Just keep in mind that you may not get exact sizes, but very close ones.

Categories : Facebook

Chrome blocks FB.login()
The example in the Facebook docs is a bit misleading, you should never use FB.login in an asynchronous callback function - and that is exactly what you are doing right now, because FB.getLoginStatus is asynchronous. Always call FB.login on user interaction (mouse click) or it will get blocked by intelligent browsers. FB.getLoginStatus: on page load, for refreshing the user session and checking i

Categories : Facebook

How to get text from gmail and paste that text in another tab using selenium web driver
I'll never do it the way you want to do. Meaning, launching gmail and copying the password from the browser. It consumes more time and i'm not testing gmail. There are two possible solutions I can think of. In regression environment, set the password generated to a constant value if possible. And use the same in the test. in this approach we are not testing "email send" mechanism of the app, if

Categories : Facebook

Fetching list of user's friends for website
First, you need to include and initialize the JavaScript SDK: https://developers.facebook.com/docs/javascript/quickstart/v2.2 Then, you need to authorize the user: https://developers.facebook.com/docs/reference/javascript/FB.login/v2.0 (don´t forget to use the scope parameter with the "user_friends" permission) After that, you can call FB.api('/me/friends'... to get the friends of the user who

Categories : Facebook

Fb.ui() share don't shown user custom message
You can´t add a message, at least not anymore. It would not be useful anyway, because it is not allowed to prefill the message according to the platform policy: https://developers.facebook.com/policy/ 2.3: Don't prefill captions, comments, messages, or the user message parameter of posts with content a person didn’t create, even if the person can edit or remove the content before sharing.

Categories : Facebook

Error with composer when trying to install Facebook Ads API. Wrong Package Number?
You called your package the same name as the package you're trying to require (facebook/php-ads-sdk). Composer is getting confused by that naming conflict. You should name your package something unique to you like jordanbelf/facebook-ads. Also, it looks like you copied the composer.json file from the php-ads-sdk repository. There's a lot of stuff in there you don't need. Your composer.json file

Categories : Facebook

AS3: Post to Facebook Wall - Error #2032
publish_stream is deprecated (since years?), you need to use publish_actions. If that does not work, make sure the Access Token includes all the permissions, you can test this in the Debugger: https://developers.facebook.com/tools/debug/ Side note: AS3 is not getting used very often anymore, the last version of the the AS3 SDK is from 2011. It may be a good idea to switch to the JavaScript SDK.

Categories : Facebook

Create check-in link for facebook
As far as I know, there's no direct link for a check in. Facebook doesn't want people accidentally / maliciously being checked in to a place. I suggest that you use the URL you have, put it into a QR code and let the user decide whether they want to check in.

Categories : Facebook

Same Facebook application to multiple pages
Check out the signed_request parameter for that, it includes information about the page (id, admin): https://developers.facebook.com/docs/reference/login/signed-request/

Categories : Facebook

Facebook's open graph / graph API
You can´t do that with the Facebook API. The Search API is pretty limited, mostly for privacy reasons, i assume: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#search

Categories : Facebook

facebook graph API - get last checked users to place/page
According to the docs you can only check how many people checked in, but not who exactly: https://developers.facebook.com/docs/graph-api/reference/v2.2/page ...it does make sense though, for privacy reasons.

Categories : Facebook

Facebook oAuth: Force email permission
They are using an old App created before end of April 2014, it was different back then. You can´t force it anymore, you can only check if the user authorized the permissions after login, with the return_scopes flag, for example: https://developers.facebook.com/docs/reference/javascript/FB.login/v2.2

Categories : Facebook

Is there any dependency between the cookies from Facebook and Access_Token
There is no direct conjunction with cookies and Access Tokens. The latter are use for leting users give specific permissions on their personal data with Facebook apps. What you are referring to are so-called short-lived Access Tokens. You can exchange those into long-lived ones, whcih have a maximun validity of 60 days. Even the long-lived one can expire, which can be handled by resending the use

Categories : Facebook

How do I post on my facebook wall via my facebook ID?
publish_stream is deprecated since years, you need publish_actions and you need to authorize a User before you can use it to post: https://developers.facebook.com/docs/facebook-login/v2.2 Also, you should use /me/feed for posting, because you can´t post on the wall of another user than the authorized one anyway. You may want to read the platform policy too: https://developers.facebook.com/polic

Categories : Facebook

Facebook Custom Audience pixel on multiple websites
Yes - you can use the same pixel on both sites, then create audiences from it based on the url. Here's more information on how this works: Facebook: Configure your Audience Rules

Categories : Facebook

Facebook user id different on test app
I can verify this behaviour in the case if you production app was created before the introduction of the Graph API v2.0, but created a test app thereafter. https://developers.facebook.com/docs/apps/test-apps/ states that Test Apps share the same app-scoped User ID namespace as your production app making it simpler to debug issues with app-scoped IDs, or in cases where you use a copy of yo

Categories : Facebook

Using the FB API, can you share a link, but serve an image that is not on the page
Yes, it's possible by using the JavaScript SDK and the Share Dialog. For example, I can do the following, which shares a link but with a custom image, name and caption. It basically overwrites all the OG data on my page. function fb_share() { FB.ui( { method: 'feed', name: "Facebook API: Tracking Shares using the JavaScript SDK", link: "https://www.webniraj.com/2013/05

Categories : Facebook

How can I get the facebook friends_count of a user profile via graph API 2.2?
You cannot get the friend count of any user, you can only get that value from the user who is authorized right now: /me/friends There will be a summary.total_count field in the result. You need the user_friends permission with the access token as well. Btw, scraping is not allowed: https://www.facebook.com/apps/site_scraping_tos_terms.php

Categories : Facebook

Facebook sharer: Error parsing input URL, no data was cached, or no data was scraped
I've got an answer from Facebook support team: The issue is originally caused by using a protocol relative url in og:image... Fix the url and you'll see this error go away. This worked for me.

Categories : Facebook

How to update facebook page likes when a new like is made by user?
This should be possible with the Realtime API, it includes a "likes" object for User object subscription: https://developers.facebook.com/docs/graph-api/real-time-updates/v2.2 How it works: You subscribe to the subscriptions endpoint with an App Token: https://developers.facebook.com/docs/graph-api/reference/v2.2/app/subscriptions After subscribing, you will get a POST object sent to the specif

Categories : Facebook




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.