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?
- What is fbclid? the new facebook parameter
- Facebook login NullPointerException
- Warning: Each child in an array or iterator should have a unique “key” prop. Check the render method of `ListView`
- Install oAuth PECL error: Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user
- What are App Domains in Facebook Apps?
- Discord OAuth2 redirect URI how-to
- 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
- Automatically Facebook Debug Posts on Publish [closed]
- Facebook comments box on front page
- How to build a plugin that supports authenticated POST requests to the REST API from external servers?
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- FB – Comment Moderation Tool bug? [duplicate]
- $_SESSION variables lost during OAuth callback
- Facebook Like Button On Individual Comments
- Create a php callback/endpoint for an OAuth script
- Should I ask my Twitter plugin users to create their own Twitter App and API Keys to use my plugin?
- Allow Facebook to preview posts before published
- Conditionally loading Facebook PHP SDK in shortcode
- Is it possible a one click user registration with Facebook or Twitter (or other Social Networks)?
- How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?
- Facebook Like Button in Jetpack [closed]
- Force users to register in order to view website [duplicate]
- Get User’s Facebook Photos as WordPress Upload
- How to Add custom subtitle as og:title to Facebook Open Graph Meta Data in WordPress Themes?
- API Hook for After Commenting (for sharing on Facebook)
- Integrate BuddyPress & Facebook
- Facebook-like Notification Plugin for WordPress Community Blog Sites?
- Facebook login for private group members
- OAuth1 empty “authentication” in /wp-json
- How to integrate Facebook Share button without code?
- Facebook share functionality in wordpress loop
- Writing a wordpress plugin and trying to include the Facebook PHP SDK
- Open Graph in posts loop page
- Facebook social publisher and custom post type fields [closed]
- Is there a way of putting the facebook social plugins into page template php files?
- Conditional Facebook Share and Like links [closed]
- Automatically Import WordPress Blog to Facebook Page [closed]
- Facebook and WordPress
- Post image lacking when pasting link into Facebook despite the correct og:image meta tag
- Trouble displaying featured image as thumbnail when using Facebook share
- Custom avatars in wordpress comments?
- Including facebook.php in a wordpress page template?
- Facebook Registration Tool: how to use in WordPress? [closed]
- facebook like, tweet and google+1 buttons inside the loop on home, archive and search pages and missing facebook like buttons
- Button in SideBarOther widget not showing up on all pages
- virtual page using url parameters to solve facebook sharing issues
- WooCommerce OAuth 1.0 + JWT authentication with JS/React
- How to see more WordPress images when posting to Facebook
- Embed/Link external web pages into my WordPress blog (Like Facebook grabs Image, Title, and Description)
- Facebook Does Not Grab Correct og:Image
- WP REST API – log in with Facebook
- How to implement custom buttons into individual posts?
- Insert Facebook button into header [closed]
- Best Way to get facebook share count and update using wp_schedule_event or any other method
- HTTPS connection with wampserver for “Facebook for WordPress” plugin
- How to use author’s avatar as Facebook post preview image when a single post is shared
- Store SNS share value via function.php
- How to add social buttons like facebook and twitter in the footer of a theme?
- Change the Simple Facebook Connect popup position
- How to get Facebook comment plugin in blog? [closed]
- How to automatically share posts on facebook?
- Adding pub_Date to an RSS feed hosted on WordPress
- How to run code when cookie is added?
- Set Canonical URL to GIF for Facebook
- Featured image not showing on facebook share
- WordPress site screwed up after adding Facebook Pixel inbetween header tags
- How to use google api for wordpress login
- Facebook Share Permalink Javascript href
- How to display single arbitrary facebook post with a shortcode?
- Disable Jetpack Publicize for blog but keep for custom post type [closed]
- How do I add Facebook OpenGraph meta tags for attachments in the header for a custom theme?
- Facebook Feed Grabber Cache Relative to Dev Machine, not Server Install
- How to make a share-this window drop when reaching end of post?
- Integrating Facebook Registration (and Login) on a WordPress page
- Why don’t some template tags work when querying information on single.php?
- SHARING TO FACEBOOK – FROM DYNAMICALLY GENERATED PAGE
- Problem embedding a page on facebook [closed]
- Facebook Share button wont recognize embedded video [closed]
- Facebook Pixel + WooCommerce + AJAX = Confusion
- Merge comments from Facebook with WP comments [closed]
- Adding vkontakte social “like” button to posts results in multiple buttons on first post only
- Serious social interaction [closed]
- Need fixing generic posting on facebook
- Facebook video on a post appears in a strange language [closed]
- How to add Paragraph Tags in WordPress using Visual Composer?