Facebook - why if i connect album or photo, returning false - facebook

Thursday i could connected with user album and photo. but Friday & today (Monday) i can't..
there is something bug with Graph API??
and how to create album in page (business page) with Graph API?? i got the identifier and i can access with https://graph.facebook.com/121845897865800 but if i check manually in my page, i couldn't find that..
i using permission: publish_stream,offline_access,user_photo_video_tags,manage_pages
need help!!

As for the first matter, things like to go in and out with the facebook API. It may even be a result of the devs trying to fix the issue with your second point. If it does not fix soon, fill out a bug report or search the forums
as for the second this is a known bug:
http://bugs.developers.facebook.net/show_bug.cgi?id=11254
http://bugs.developers.facebook.net/show_bug.cgi?id=10607
I suggest adding your email to the bug reports to keep track of facebook's progress with fixing them. Facebook says "it is being actively worked on." whick means it could be a while.

Related

Facebook Not Scraping URL Properly (Blocked URL) On Fresh URL's

I have started to experience a really strange problem with Facebook link scraping/caching which seems random in nature.
On brand new posts when I go to check: https://developers.facebook.com/tools/debug/ with my new URL I get a message saying 'Cannot scrape: URL blocked'
We have literally been sharing URL's to Facebook for YEARS with no problem whatsoever. All open graph tags are present and working fine.
What is really weird is if I just manually press the 'scrape again' button it grabs all the bits properly and says everything is fine. It's always just the first attempt.
I have also tried manually calling the scrap API instead of letting Facebook do it when someone shares the URL for the first time and still sometimes (not always) it returns empty (just 'id' and 'url' returned) indicating the URL was blocked.
What's going on here it's driving me mad? We are nowhere near our API limits if maybe that was the issue...
Why would it say blocked first go on the debug page then literally 2 seconds later you press 'scrape again' and it works fine.
Just to note sometimes when it says blocked it still shows maybe the image in the link preview but no title or description. It's like it's grabbed some tags but then given up. Very strange...
I have checked our access logs and I can see 'Facebot' accessing our site fine.
Hope someone can help, I am really hoping this is some weird Facebook bug as I can't see any change in our code base that would effect this.
Facebook does not return anything helpful when this happens even with the API. I have no way in contacting Facebook direct either. If we are somehow getting blocked I would love to know why and fix that issue. But it's impossible to debug at the moment.
Just to note I have 3 sites all running the same code base (WordPress environment). They are all experiencing this issue. All been running fine for many years.
Cheers
This was to do with rate limiting that was not visible in the Facebook APP dashboard. Helpful...
Full details here: https://developers.facebook.com/bugs/232343637174087/
Solution for your problem: You can use Facebook image button after adding link on Facebook news feed, like shown in iamge
second thing upload image on othe site and give the image path to your website and then put it on your news feed, you can get definitely positive result using this two methods.
also refer this image
thanks hope this two will work for your problem

Facebook image not displayed in share

I'm trying to publish on FB a link of my wife-website.
The Open Graph Debugger says that everything is fine (there is og:image tag and the image is 1200x630).
But the image isnt' displayed in the post, even if I try to scrape again the page!
Please, help me!
Riccardo
This bug was confirmed by FB not so long ago...
see: https://developers.facebook.com/bugs/978421888869140/
I can confirm this issue also occurs on multiple sites I own. It began some time in the past 14 hours. The debugger is returning a valid output (but the post preview at the bottom is lacking the image).
My guess is that it is somehow related to the face that today (30/apr) they've forced all fb apps to migrate to sdk2.0.
I sure hope they're already working on a fix... but go figure :-/

Pulling in 'like' url data from open graph

Just developed an app that asks for user permission and is pulling in a list of external "liked" products from a website. So querying the open graph against the user id and identifying the URL of the product they have liked to create a list of products. This no longer seems to be working? the URL string doesn't seem to be an option. Does anyone know if Facebook have changed anything?
I assume you've solved your problem by now, but a similar issue has come up so I'll leave some info here for other desperate searchers.
The field you are looking for is probably "website".
https://graph.facebook.com/user_id/likes?fields=website
I was using the "link" field for this, but over the past couple days there was a bug released by FB where the link field was no longer present in the returned link data. The bug was fixed and the link field is back, however now if you are an admin or otherwise own the thing that was liked, the link field contains a URL to a FB Page for the liked object. If you don't own the object, the URL is the same as website. It's very confusing and now I'm scared to use the website value in order to identify what has been liked because it's meaning could change.

Facebook Graph API does not give any data earlier than 2011?

I'm the author of Fazzle app on iPhone. What my app does is basically download user status updates and sort them in various orders (e.g. most liked, most commented).
I have been wondering if Facebook allow developers to get user's status updates since the day they joined Facebook, because when I launched the app I can only get user statuses from 2009. Today I just discovered that Facebook limits Graph API calls down to just since 2011.
I tried looking at documentations, asked around here, and contacted Facebook through their forum. However so far there is no word on this limitation in Graph API. Did I miss something? Is there any other way for me to get data for status updates earlier than 2011?
You can test it yourself here. Use this GET request:
https://graph.facebook.com/(your_user_id)/statuses?limit=99999
Scroll down and you'll find out that not everything's downloaded.
Is this because of conflict of interest with Facebook Timeline? If so, that sucks.
Logged as a bug here. Still hoping someone can point out my mistakes if there's any.
Absolutely you can get older posts from Graph API; there is no limit (at least not that I am aware of). Use the since and until parameters to page back through results, instead of offset:
https://graph.facebook.com/me/feed?access_token=[token]&until=1165474447
Documentation for Paging doesn't go very in-depth on since and until:
When querying connections, there are several useful parameters that enable you to filter and page through connection data:
limit, offset: https://graph.facebook.com/me/likes?limit=3`
until, since (a unix timestamp or any date accepted by strtotime):
https://graph.facebook.com/search?until=yesterday&q=orange
But basically, until is like saying "Give me posts up until this date", and since is similar, "Give me posts since this date". So you can scroll all the way back through a user's feed using a loop something like this:
// pseudocode
timestamp = now
do {
posts = graph.get(/me/feed?until=timestamp)
if posts.length == 0: break;
// process posts
timestamp = posts[0].created_time // first should be the oldest, in theory
} while (1)
Replace until with since and oldest created_time with the newest to go forwards in time, e.g. to grab any newer posts since the last time the user ran the app.
Facebook has since confirmed this as a bug. If you have followed Facebook's bug tracker ever, unfortunately that means there is very little if any chance they will actually fix this.
You will need to paginate. Limit is limited. Please read http://developers.facebook.com/blog/post/478/

Facebook Like Box for my facebook page

I am trying to implement facebook like box for my facebook page on my own site. I copied the code from http://developers.facebook.com/docs/reference/plugins/like-box/ (HTML5 or any other) and pasted on my site. Box appears with all the correct information bu when I click on like, I get an error message saying
"The page at http://www.facebook.com/pages/xxxxx/111111 could not be reached."
I've been trying to find a solution for this for hours but couldn't find anything. It's nothing to do with the privileges etc.
I also ran it through Object Debugger and it didn't come up with any problem.
Does anyone has any solution for this? I created the page today, does facebook needs time to parse/index my page before like box works?
Thanks in advance
Are there any demographic restrictions on your page that would prevent it being seen by somebody logged out of Facebook? Is it the published? Those are the two most common reasons for that error that I've seen
Ok, all of a sudden it started working. Haven't changed anything in the code. So I guess Like Box won't work if you install it on the same day you create the FB Page.