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?
- 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
- 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
- og:url is driving me crazy?
- WordPress website broken in Facebook mobile browser
- Is it possible to pull comments from facebook into your blog?
- Set Custom Post feature image as og:image
- How to get user-meta from Social Login registered users?
- Top 3 posts in last week ordered by Facebook and Twitter share counts
- Facebook sharing link is not showing a thumbnail of the images within the post?
- W3 Cache plugin and Facebook sharing [closed]
- Twitter/Facebook login for comments [closed]
- Facebook is only displaying preview thumbnails that are 100px from my posts?
- custom field with total count of Facebook likes, comments and shares
- FB – Comment Moderation Tool bug or error in the code?
- Should I store my Facebook access tokens?
- Displaying additional User Contact Information
- Prevent Javascript Facebook SDK Conflicts in plugin
- WordPress Post featured image URL in the header
- How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?
- Multiple social buttons with a fast loading? [closed]
- Where to store OAuth 2.0 client id and secret?
- Hiding styles from Facebook
- Sync comment data
- WP REST API GET Requests require authentication
- Allow logged in WordPress user to access 3rd party Laravel API via OAuth
- Facebook embeds loading the wrong language
- What is generating my meta og:description?
- Updating the Drag-To-Share eXtended share URLs?
- Facebook-like Notification Plugin for WordPress Community Blog Sites?
- Erratic OAuth 1.0 Signature Mismatch Errors
- Send Facebook server-side event using shortcode and Official Facebook Pixel plugin
- Redirect URL on OAuth2.0 after switching from http to https
- How can I attach Facebook Open Graph data to an Attachment Page?
- Authorizing a plugin to call Google Analytics v4 API on wp_cron
- WP OAuth Server “The grant type was not specified in the request”
- Integrating Facebook calender to WordPress
- Restrict access to content in conjunction with facebook connect & google login
- OAuth Plugin Produces Error With Yahoo
- Conditional Facebook Share and Like links [closed]
- Automatically Import WordPress Blog to Facebook Page [closed]
- Facebook and WordPress
- How do I set a featured image for the homepage? [closed]
- Posting from WordPress to Facebook [closed]
- Where is this strange og:description coming from?
- Facebook Registration Tool: how to use in WordPress? [closed]
- Button in SideBarOther widget not showing up on all pages
- virtual page using url parameters to solve facebook sharing issues
- how do i change my website facebook login button to another text immediately user login? [closed]
- 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)
- How to make picture appear on wordpress site shared link? [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
- Single article separated into multiple pages makes Facebook Like button detect as completely separated articles
- Facebook and Twitter share buttons not working [closed]
- open graph image being overwritten by gravatar logo?
- 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
- How to set up dynamic purchase pixel in Woocommerce?
- Featured image not showing on facebook share
- How to display single arbitrary facebook post with a shortcode?
- 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
- Overriding FB Auto Connect plugin function displayed in footer
- Create Mashable Follow-like Facebook, Twitter login/connect?
- WordPress as a Facebook app
- Tried everything but Facebook share button won’t load the post thumbnail
- Why don’t some template tags work when querying information on single.php?
- Problem embedding a page on facebook [closed]
- Looking for Plugin that displays Facebook group’s photos [closed]
- Facebook Share button wont recognize embedded video [closed]
- 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]
- Force Jetpack to use og:url with http on an https website
- Need fixing generic posting on facebook
- Publish post facebook page & twitter automatically [closed]
- Facebook video on a post appears in a strange language [closed]
- WORDPRESS ,Can’t load image of post when sharing post via facebook [closed]