I am using the php sdk to access a user’s albums and photos in a website. I am able to login and also able to retrieve all the info about the albums and photos.
However, I am not able to display these photos on the webpage.
When I try the graph API, to get the photo / album like below:
https://graph.facebook.com/131833353530147/picture
I get the following error message:
{ "error": { "type": "OAuthException", "message": "An access token is required to request this resource." } }
But the same is working in while I try to display my profile pic and I do have a valid access token.
Help on this would be greatly appreciated.
Related Posts:
- Facebook OAuth “The domain of this URL isn’t included in the app’s domain”
- Retrieving Default Image All Url Profile Picture from Facebook Graph API [closed]
- Use Device Login on Smart TV / Console
- What is the OAuth 2.0 Bearer Token exactly?
- Sign in with Google temporarily disabled for this app
- When do I need a fb:app_id or fb:admins?
- When do I need a fb:app_id or fb:admins?
- Face recognition via facebook API
- Login Error: There is an error in logging you into this application. Please try again later
- FB is not defined javascript
- How to integrate Facebook into WordPress registration/login?
- Implement authentication to an organization oAuth server
- WP-API: how do I allow authenticated clients only?
- WordPress Plugin: Oauth2 redirect
- target=”_blank” in a facebook profile-tab application (iframe)
- What is an Endpoint?
- Official Facebook Connect button as PNG
- What is fbclid? the new facebook parameter
- Invisible characters – ASCII
- Error: REST API is deprecated for versions v2.1 and higher
- How can I find and run the keytool
- Constructing requests with URL Query String in Python
- localhost/phpinfo.php
- “Uncaught (in promise) undefined” error when using with=location in Facebook Graph API query
- What are the main differences between JWT and OAuth authentication?
- Facebook login NullPointerException
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- Can’t fix: ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags
- og:url is driving me crazy?
- Android Facebook integration with invalid key hash
- Install oAuth PECL error: Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user
- Facebook – Error parsing input URL, no data was cached, or no data was scraped
- where is devise implementation of “authenticate_user!” method?
- facebook-graph-api Getting “Invalid OAuth access token.” after 3 https calls
- What are App Domains in Facebook Apps?
- Discord OAuth2 redirect URI how-to
- WordPress website broken in Facebook mobile browser
- How to fix facebook sharer button that appears cutted on wordpress
- how to set featured image in non-wordpress
- facebook- wordpress post not showing pictures on fb link
- Is it possible to pull comments from facebook into your blog?
- How can I control the Facebook like image? [closed]
- Override WordPress user with Oauth2 account
- How can I auto-add my posts to my site’s Facebook fan page?
- A plugin where users can comment with Facebook or Twitter or OpenID [closed]
- Is there a filter to define the OG image on a given post?
- Experiences with compiling WordPress using Hip Hop?
- How to allow users login to WP from external domain and make REST requests
- Automatically Facebook Debug Posts on Publish [closed]
- If your blog was an app on Facebook
- Facebook comments box on front page
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- Set Custom Post feature image as og:image
- Get FaceBook Friend Count [closed]
- Facebook OAuth, WP_Http::request() vs wp_remote_request()
- Facebook Comment Count
- How to build a plugin that supports authenticated POST requests to the REST API from external servers?
- How to get user-meta from Social Login registered users?
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Change meta tags programatically
- Top 3 posts in last week ordered by Facebook and Twitter share counts
- Extract image src from a post and send it to an external form
- Facebook sharing link is not showing a thumbnail of the images within the post?
- W3 Cache plugin and Facebook sharing [closed]
- Facebook like button that redirects?
- Twitter/Facebook login for comments [closed]
- Best way to allow manageable social media URLS?
- FB – Comment Moderation Tool bug? [duplicate]
- Facebook is only displaying preview thumbnails that are 100px from my posts?
- Any Facebook component doesn’t work on WordPress website after update. Why?
- custom field with total count of Facebook likes, comments and shares
- Generating the ogp tags in theme
- FB – Comment Moderation Tool bug or error in the code?
- How do I authenticate WP users from a chrome extension?
- Facebook sharer and parameters in URL
- How to control Facebook share information for the front page?
- $_SESSION variables lost during OAuth callback
- sharing video on facebook from wordpress
- Accessing the Current URL in a Text Widget for a Facebook Share Button?
- Adding a “most liked post” box, based on facebook ranking?
- Open graph metadata isn’t pulled on Facebook until after I run that specific link through the debugger
- Should I store my Facebook access tokens?
- Facebook Like Button On Individual Comments
- Create a php callback/endpoint for an OAuth script
- How to get wordpress link to fully evaluate when coming from facebook
- Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]
- Displaying additional User Contact Information
- facebook like – image display and description
- Is there a method or plugin that will allow posts to be sortable by Facebook likes?
- Should I ask my Twitter plugin users to create their own Twitter App and API Keys to use my plugin?
- WordPress 4.4 release produce blank white images when sharing a post on Facebook etc
- Allow Facebook to preview posts before published
- Custom Connect to Facebook, problem logging in/logging out
- Publish a message on facebook after having posted a comment
- Shortcode in AJAX popup
- Conditionally loading Facebook PHP SDK in shortcode
- Is it possible a one click user registration with Facebook or Twitter (or other Social Networks)?
- Prevent Javascript Facebook SDK Conflicts in plugin
- Use WordPress with a custom OAuth2 provider