Retrieving Default Image All Url Profile Picture from Facebook Graph API [closed] - facebook

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I have an issue now, suddenly all url image from facebook graph API in my database return a default image look likes this:
Example url :
http://graph.facebook.com/{user-id}/picture?type=large

It is a known bug (which could also mean that it will not be possible anymore in the future):
https://developers.facebook.com/bugs/2054375031451090/
You should subscribe to the bugs and wait.
Update: You can make it work by adding an access_token to the API call, but you should only do that server side, of course. An App Access Token should be good enough:
https://graph.facebook.com/<userId>/?fields=picture&type=large&access_token=...
Update 20.04.2018: It seems like picture URLs are working without an Access Token again: <img src="https://graph.facebook.com/[app-scoped-id]/picture" />

Please add access token parameter in the url
https://graph.facebook.com/id/picture?type=large&access_token=faskfjsld
This will work for sure.

There is an update here:
https://developers.facebook.com/bugs/2054375031451090/
I just tried and it works, by simply appending your access token to the URL link.
So this:
https://graph.facebook.com/<userId>/?fields=picture&type=large
Should become like this:
https://graph.facebook.com/<userId>/?fields=picture&type=large&access_token=...
Hope it helps!

Related

Can't register app in SoundCloud developer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
When I try to register app SoundCloud page redirect me to Google Forms, where I fill all inputs. On submit I receive a message: "Looks like you have a question or two that still needs attention.", but there are no blank inputs. Any advice?
I had this issue also and when I changed the app URL and the redirect URI to something simple, for example 'http://www.appname.com' (as oppose to my localhost address), it seemed to work.
I have to say the new app sign-up on SoundCloud is pretty terrible, used to be so much more straight forward.
Hope this helps!
If you look at the API docs it specifically says that the scheme needs to be https, but after 6 hours trying to install the SSL, giving up on it the and one last look at the google docs I realize that it said http or https!

Facebook auth with pointer url [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
I have a domain name that points to an amazon instance. I am trying to get facebook authentication to work through my Facebook app. Unfortunately authentication through Facebook only works when a user goes directly to the url of the instance.
Ex: it works at my ec2-... url but not my domain url even though they share the same ip.
How can I solve this issue?
The problem originated in the use of an incorrect environment variable url within my deployment script.

Dynamically generated page URLs don't work this morning [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
This morning dynamically generated links to FB pages from our app stopped working. Link to a page like this http://www.facebook.com/pages/125567350861413 used to work just fine, now it requires page name http://www.facebook.com/pages/Daniels-Real-Estate/125567350861413
Why would this be changed? Was there a problem with old pages link format?
We tweaked our code to take into account page name and made it work. But if a user changes the name of a page the link to this page will break, until we refresh the list of pages in our db. We'll write a chron job that will refresh the list of page names for all users using our app multiple times a day, but we'd prefer not having to do that.
Anyone else ran into this issue? What was your workaround (other than the above)?
While this is probably an off-topic question, you can get the page url using the graph api:
http://graph.facebook.com/125567350861413 and looking at the link property. As to why Facebook changed this, you would have to ask them at their developer group or log a bug.

Getting fb.me URL [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 10 months ago.
The community reviewed whether to reopen this question 10 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
How do I go about either making, or retrieving facebook short url's (fb.me) from a page, profile, event etc? I want to update my url shortener site - but if the user links to a facebook page I want to just return a fb.me link instead. Does facebook make their short urls on the fly, or does each page automatically already have one?
Facebook uses Bit.ly's services to shorten links from their site. While pages that have a username turns into "fb.me/<username>", other links associated with Facebook turns into "on.fb.me/*****". To you use the on.fb.me service, just use your Bit.ly account. Note that if you change the default link shortener on your Bit.ly account to j.mp from bit.ly this service won't work.
You can use bit.ly api to create facebook short urls find the documentation here
http://api.bitly.com
I'm not aware of any way to programmatically create these URLs, but the existing username space (www.facebook.com/something) works on fb.me also (e.g. http://fb.me/facebook )

OpenGraph Music music.listens returns error [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
Following the spec here http://developers.facebook.com/docs/opengraph/music/
When I post:
POST https://graph.facebook.com/me/music.listens?song=[song url]
The response is invariably:
{
"error": {
"type": "OAuthException",
"message": "An unknown error has occurred."
}
}
A bug report has been filed here: https://developers.facebook.com/bugs/124491790988961
According to a developer in the comments section, open graph music is not yet available to the developer public.
A Facebook developer replied regarding this here:
Opengraph and music.listen
Seems like the best option is to create own "play music" actions, since Facebook doesn't seem to allow POST to music.listens in a foreseeable future... :/
To add on Kristofer and Garthex answers this Built-in Actions is not publicly available. However, you can submit a request if you think you have the rights on content broadcasting.
Here is the doc for Built-in Actions: https://developers.facebook.com/docs/opengraph/actions/builtin/
Alternativly, you can use Custom Actions like "A user Play a Sound".
Make sure you have prompted the user for publish_actions extended permission and that the user is a developer of the application (since the open graph actions are still in beta).